UNPKG

fs-cnpm

Version:
38 lines (23 loc) 1 kB
fs-cnpm --------------- [![NPM version][npm-image]][npm-url] [![Node.js CI](https://github.com/cnpm/fs-cnpm/actions/workflows/nodejs.yml/badge.svg)](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://ergatejs.implements.io/badges/contributors/cnpm/fs-cnpm.svg?width=1250&size=96&padding=6)](https://github.com/cnpm/fs-cnpm/graphs/contributors)