https://github.com/qubitproducts/s3-cnpm
S3 storage wrapper for cnpm
https://github.com/qubitproducts/s3-cnpm
ceh cmh implement
Last synced: 12 months ago
JSON representation
S3 storage wrapper for cnpm
- Host: GitHub
- URL: https://github.com/qubitproducts/s3-cnpm
- Owner: QubitProducts
- License: mit
- Created: 2014-10-13T20:17:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T17:05:37.000Z (over 8 years ago)
- Last Synced: 2025-03-03T05:17:04.252Z (about 1 year ago)
- Topics: ceh, cmh, implement
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 25
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# s3-cnpm
S3 storage wrapper for [cnpmjs.org](htps://github.com/cnpm/cnpmjs.org)
## Installation
```bash
$ npm install s3-cnpm
```
## Usage
```js
var s3Storage = require('s3-cnpm');
var client = s3Storage({
key: 'your access key',
secret: 'your secret key',
bucket: 'npm',
// optional
region: 'eu-west-1', // default is us-standard
folder: 'pkgs', // default ''
storageClass: 'STANDARD' // or REDUCED_REDUNDANCY
});
```
### License
MIT