Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

true

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

true

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


Version published
Weekly downloads
903
increased by12.31%
Maintainers
1
Weekly downloads
 
Created
Source

true

Build Status

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

Overview

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

Installing

$ npm install true

Usage

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

  var t = require('./true')
    , myTrueValue = t();

console.log(myTrueValue === true); // 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/mde/true/issues

Keywords

FAQs

Package last updated on 16 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc