Package Exports
- satoshi-bitcoin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (satoshi-bitcoin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
satoshi-bitcoin 
satoshi-bitcoin is a node module for conversion between Satoshi and Bitcoin in either direction.
Install
npm install satoshi-bitcoinUsage
var converter = require(satoshi-bitcoin);
console.log('One Bitcoin equals ' + converter.toSatoshi(1));
console.log('One Satoshi equals ' + converter.toBitcoin(1));Tests
npm testContributing
If you see anything to add, I am very open to pull requests. If you would, please use my eslint configuration.
License
MIT
Release History
- 0.1.0 Initial release