Skip to content
forked from mde/false

A JavaScript port of the Unix utility 'false'. Returns the Boolean value `false`

Notifications You must be signed in to change notification settings

tj-commits/false-better

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

false

Build Status

A JavaScript port of the Unix utility 'false'. Returns the Boolean value false

Overview

This module should be used when you need a function that returns the Boolean value false.

Installing

$ npm install false

Usage

Simply require the false module. The export is a function which returns the Boolean value false:

  var f = require('false')
    , myFalseValue = f();

console.log(myFalseValue === false); // Logs 'true'

CLI

If you install false globally, you can call it appropriately as a CLI command:

$ npm install false -g

You will likely have to use sudo to install it globally.

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/mde/false/issues

About

A JavaScript port of the Unix utility 'false'. Returns the Boolean value `false`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%