rmi-downloader

decode rmi image from http://mangarock.com/

Usage no npm install needed!

<script type="module">
  import rmiDownloader from 'https://cdn.skypack.dev/rmi-downloader';
</script>

README

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