Package Exports
- @modern-dev/jsbn
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 (@modern-dev/jsbn) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Tom Wu's jsbn library in TypeScript
The jsbn library is a pure JavaScript implementation of arbitrary-precision
integer arithmetic.
Installation
$ npm install --save @modern-dev/jsbnUsage
import { BigInteger } from '@modern-dev/jsbn';
const bi = new BigInteger('91823918239182398123');
console.log(bi.bitLength()); // 67Similar projects
https://github.com/akalin/jsbn
https://github.com/creationix/jsbn
https://github.com/andyperlitch/jsbn
Licensing
jsbn is released under a BSD license.
See LICENSE for details.