npm install magicnumber
var magicNumber = require('magicnumber');
magicNumber.findSmallest();
var magicNumber = require('magicnumber');
console.log('Is 123 a candidate for the magic number? ' + magicNumber.create(123).isValid());
nodeunit test/magicNumberFinder.js