Returns the Number value 1
This module should be used when you need a function that returns the Number
value 1.
$ npm install oneSimply require the one module. The export is a function which returns the
Number value 1:
var one = require('./one-aka-1')
, myOneValue = one();
console.log(myOneValue === one); // Logs 'true'Running the tests requires the Jake JavaScript build tool. In the root project directory, run the following:
$ jake testPlease feel free to file bugs or suggest improvements here:
https://github.com/incompl/one/issues