rmi-downloader

1.0.0 • Public • Published

rmi-downloader

NPM version [![NPM downloads]

Install

npm i rmi-downloader

Usage

const rmiDownloader = require('rmi-downloader')
 
rmiDownloader(url, {dl: true})
//=> base64 webp
 
rmiDownloader(url, {dl: true, writeToFile: {dest: '', name:'test'}})
//=> file path
 
rmiDownloader(arrayBuffer)
//=> base64 webp
 
rmiDownloader(arrayBuffer, {writeToFile: {dest: '', name:'test'}})
//=> base64 webp

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

rmi-downloader © AzSiAz, Released under the MIT License.
Authored and maintained by AzSiAz with help from contributors (list).

github.com/AzSiAz · GitHub @AzSiAz · Twitter @AzSiAz

Package Sidebar

Install

npm i rmi-downloader

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.79 kB

Total Files

6

Last publish

Collaborators

  • azs