An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# oss-cnpm

[![NPM version][npm-image]][npm-url]
[![Node.js CI](https://github.com/cnpm/oss-cnpm/actions/workflows/nodejs.yml/badge.svg)](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`.