https://github.com/cnpm/oss-cnpm
oss wraper for https://cnpmjs.org
https://github.com/cnpm/oss-cnpm
Last synced: 10 months ago
JSON representation
oss wraper for https://cnpmjs.org
- Host: GitHub
- URL: https://github.com/cnpm/oss-cnpm
- Owner: cnpm
- License: mit
- Created: 2014-01-14T04:16:40.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-02-02T23:21:13.000Z (over 1 year ago)
- Last Synced: 2025-09-03T05:43:59.604Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 82 KB
- Stars: 11
- Watchers: 12
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# oss-cnpm
[![NPM version][npm-image]][npm-url]
[](https://github.com/cnpm/oss-cnpm/actions/workflows/nodejs.yml)
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/oss-cnpm.svg?style=flat-square
[npm-url]: https://npmjs.org/package/oss-cnpm
[codecov-image]: https://codecov.io/github/cnpm/oss-cnpm/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/cnpm/oss-cnpm?branch=master
[download-image]: https://img.shields.io/npm/dm/oss-cnpm.svg?style=flat-square
[download-url]: https://npmjs.org/package/oss-cnpm
oss wrapper for [cnpmjs.org NFS](https://github.com/cnpm/cnpmjs.org/wiki/NFS-Guide)
## Usage
```js
const Client = require('oss-cnpm');
const client = new Client({
accessKeyId: 'your id',
accessKeySecret: 'your secret',
// change to your endpoint
endpoint: 'https://oss-cn-shenzhen.aliyuncs.com',
bucket: 'your bucket',
mode: 'public or private',
});
```
## Test keys
https://github.com/cnpm/oss-cnpm/wiki
## License
[MIT](LICENSE)
## Contributors
|[
fengmk2](https://github.com/fengmk2)
|[
dead-horse](https://github.com/dead-horse)
|[
killagu](https://github.com/killagu)
|[
semantic-release-bot](https://github.com/semantic-release-bot)
|
| :---: | :---: | :---: | :---: |
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Fri Oct 06 2023 00:15:31 GMT+0800`.