New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

intensify

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intensify

THE BRINGER OF TRUTH! or false

1.0.1
latest
Source
npm
Version published
Weekly downloads
1
-92.31%
Maintainers
1
Weekly downloads
 
Created
Source

intensify.js

Intensifies it's argument: falsy stuff to false, truthy stuff to true.

Install

$ npm i -S intensify

const intensify = require('intensify');

intensify(false)
=> false
intensify('')
=> false
intensify(undefined)
=> false
intensify(0)
=> false
intensify(null)
=> false
intensify(NaN)
=> false

intensify(anythingElse)
=> true

// Very good 

Keywords

intensify

FAQs

Package last updated on 27 Jul 2017

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