I'm hoping you can soon get it with npm:
$ npm install mersenne $
Usage is simple:
r = require('mersenne'); r.rand(N) <-- return a random number between 0 and N-1, inclusive
You can also do more advanced things, like creating multiple instances, return random floating-point numbers, etc.