This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
snakebyte with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Convert between different byte units
npm i snakebyte --save
Download the latest version of snakebyte here.
const snakebyte = require("snakebyte"); snakebyte.convert(100, snakebyte.Kilobyte, snakebyte.Gigabyte); // => 0.0001
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
See also the list of contributors who participated in this project.
This project is licensed under the GPL-3.0 License - see here for more details.