fs-cnpm
Version:
fs wrapper for cnpm
38 lines (23 loc) • 1 kB
Markdown
fs-cnpm
---------------
[![NPM version][npm-image]][npm-url]
[](https://github.com/cnpm/fs-cnpm/actions/workflows/nodejs.yml)
[![Test coverage][coveralls-image]][coveralls-url]
[npm-image]: https://img.shields.io/npm/v/fs-cnpm.svg?style=flat
[npm-url]: https://npmjs.org/package/fs-cnpm
[coveralls-image]: https://img.shields.io/coveralls/cnpm/fs-cnpm.svg?style=flat
[coveralls-url]: https://coveralls.io/r/cnpm/fs-cnpm?branch=master
fs storage wrapper for cnpm
## Installation
```bash
$ npm install fs-cnpm
```
## API
All the APIs are following [cnpm nfs guide](https://github.com/cnpm/cnpmjs.org/wiki/NFS-Guide).
- `uploadBuffer`: upload a file
- `download`: download file by key
- `remove`: remove file by key
### License
MIT
## Contributors
[](https://github.com/cnpm/fs-cnpm/graphs/contributors)