JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2610
  • Score
    100M100P100Q175456F
  • License MIT

Convert between Satoshi and Bitcoin

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 Build Status

satoshi-bitcoin is a node module for conversion between Satoshi and Bitcoin in either direction.

Install

npm install satoshi-bitcoin

Usage

var converter = require(satoshi-bitcoin);
console.log('One Bitcoin equals ' + converter.toSatoshi(1));
console.log('One Satoshi equals ' + converter.toBitcoin(1));

Tests

npm test

Contributing

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