A browserify implementation of node-bignum


A JavaScript implementation of node-bignumforked from the wonderful work done by MikeMcl as bignumber.js


API functionality should be identical to that of node-bignum. However, a few methods are missing:

  •, safe=true)
  • .toNumber()
  • .and(n)
  • .or(n)
  • .xor(n)
  • .invertm(n)
  • .rand()
  • .probPrime()
  • .root(n)
  • .shiftLeft(n)
  • .shiftRight(n)
  • .gcd(n)
  • .jacobi(n)

I have no intention of implementing themif you would like to do so and submit a pull request I would happily accept it. I wrote this library so I could browserify node-srpwhich does not require any of the above mentioned methods.




  • 浅谈Browserify在模块化设计中的应用

    采用require进行模块化编程 在计算机程序的开发过程中,随着程序代码越写越多,在一个文件里代码就会越来越长,越来越不容易维护。在Node环境中,一个.js文件就称之为一个模块(module) ...

    10 个月前
  • 我如何使用Browserify与外部的依赖?

    cobbdb(提出了一个问题:How do I use Browserify with external ...

    2 年前
  • 如何丑化输出与Browserify在大口喝吗?

    VolesNik Terentyev(提出了一个问题:How to uglify output with Br...

    2 年前
  • 如何与browserify得到缩小的输出?

    Fdr(提出了一个问题:How to get minified output with browserify?,或...

    2 年前
  • 使用Browserify配合jQuery进行编程的超级指南

    引言 1. manually 以前,我新开一个网页项目,然后想到要用jQuery,我会打开浏览器,然后找到jQuery的官方网站,点击那个醒目的“Download jQuery”按钮,下载到....

    3 年前
  • zlib-browserify

    Wrapper for zlib.js to allow for browserifyication zlibbrowserify Build Status(https://travisci.or...

    2 年前
  • vm-browserify

    vm module for the browser vmbrowserify CDN by jsDelivr A free, fast, and reliable Open...

    2 年前
  • uglify-to-browserify

    A transform to make UglifyJS work in browserify. uglifytobrowserify A transform to make UglifyJS ...

    1 年前
  • tty-browserify

    the tty module from node core for browsers ttybrowserify CDN by jsDelivr A free, fast,...

    2 年前
  • timers-browserify

    timers module for browserify Overview Adds support for the module to browserify. Wait, isn't i...

    2 年前


扫码加入 JavaScript 社区