6

...As I understand it they do the same thing: Provide access to Amazon Web Services. Can someone provide a list of differing capabilities between these two libraries? Why does knox exist if amazon already provides an offering?

ben75
  • 29,217
  • 10
  • 88
  • 134
Engineer
  • 8,529
  • 7
  • 65
  • 105

1 Answers1

4

AWS S3 Node.js SDK Methods

Of course the AWS SDK is maintained by Amazon so it most likely to be compatible with any changes they make. It also has more functionality for managing your S3 instance such as adding a Policy or ACL rules. (See above link for full list of methods).

Knox Methods The Knox module has a more natural Node feel. Many of the methods are very similar to the stand node http methods. This library fits the needs of most use cases. Generally I don't need to programmatically create bucket Policies and such. (See above link for full list of methods)

If you want really easy to use, high level abstraction of S3 see the S3 npm module

jakegibson
  • 76
  • 3
  • 3
    Note: S3 has a number of weird bugs (see [the issues](https://github.com/andrewrk/node-s3-client/issues) on github), and [isn't supported anymore](https://github.com/andrewrk/node-s3-client/issues/129#issuecomment-214487914) – christophetd May 26 '16 at 11:43
  • Seems like you're referring to different package. Not that was mentioned above. – Ivan Dec 20 '16 at 12:12