WASM core for Filesize module
npm install dessert-filesize-coreDessert Filesize
============

This library is the base API for the [filesize] module, written in Rust for WebAssembly.
[filesize]: https://github.com/dessert-wasm/dessert-filesize
> Note:
Although this module is not supposed to be used by itself, it can still be used as a standalone module.
dessert-filesize-core is depended on by dessert-filesize
``sh`
npm install dessert-filesize-core
[filesize.js]: https://github.com/avoidwork/filesize.js
`javascript
let filesize = require('dessert-filesize-core').filesize;
let val = 500;
let options = { exponent: -2, output: "array" };
console.log(filesize(val, options));
`
[wasm-pack]: https://github.com/rustwasm/wasm-pack
`sh`
wasm-pack build
`sh``
wasm-pack test --headless --firefox # or --chrome