Détail du package

mock-s3

jsantell85MIT1.0.2

In-memory mock S3 lib

aws, s3, mock, amazon

readme

mock-s3

Build Status Build Status

Mock API for AWS S3

An API mimicking aws-sdk's S3 wrapper.

Created because there were no other mock libraries that support multipart uploading as well as streaming from the AWSRequest return for getObject, both which are supported here.

  • completeMultipartUpload
  • createBucket
  • createMultipartUpload
  • deleteObject
  • deleteObjects
  • getObject
  • putObject
  • uploadPart

There are many other features that are not supported, like matching errors, and all the return properties necessary for S3 objects, but this gets close.

Install

npm install mock-s3

Testing

npm test

License

MIT License, Copyright (c) 2015 Jordan Santell