Skip to content

incompl/one

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

one

Returns the Number value 1

Overview

This module should be used when you need a function that returns the Number value 1.

Installing

$ npm install one

Usage

Simply 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'

Tests

Running the tests requires the Jake JavaScript build tool. In the root project directory, run the following:

$ jake test

Contributing

Please feel free to file bugs or suggest improvements here:

https://github.com/incompl/one/issues

About

Returns the Number value `1`

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%