UNPKG

big-rat

Version:

A big integer rational number

10 lines (6 loc) 108 B
'use strict' var BN = require('bn.js') module.exports = str2BN function str2BN(x) { return new BN(x) }