false-value
Advanced tools
| declare function falseValue(): false | ||
| export = falseValue |
+1
-3
| var trueValue = require("true-value") | ||
| module.exports = function falseValue() { | ||
| return !trueValue() | ||
| } | ||
| module.exports = require("@not-js/not")(trueValue) |
+3
-2
| { | ||
| "name": "false-value", | ||
| "version": "2.0.6", | ||
| "version": "2.0.7", | ||
| "description": "False", | ||
@@ -24,4 +24,5 @@ "keywords": [ | ||
| "dependencies": { | ||
| "true-value": "^2.0.5" | ||
| "@not-js/not": "^1.1.1", | ||
| "true-value": "^3.0.1" | ||
| } | ||
| } |
+10
-30
@@ -1,38 +0,18 @@ | ||
| ## false-value | ||
| # false-value | ||
| Returns the Boolean value `false` using quantum computing and qubit circuit simulation. | ||
| Returns the boolean value false. | ||
| ### Overview | ||
| This module should be used when you need a function that returns the Boolean | ||
| value `false` | ||
| ### Installing | ||
| ## Installation | ||
| ```bash | ||
| $ npm install false-value | ||
| npm install false-value | ||
| ``` | ||
| ### Usage | ||
| ## Usage | ||
| ```js | ||
| const falseValue = require("false-value") | ||
| Simply require the `false-value` module. The export is a function which returns the | ||
| Boolean value `false`: | ||
| ```javascript | ||
| var t = require('false-value') | ||
| , myFalseValue = f(); | ||
| console.log(myFalseValue === false); // Logs true (if node.js works and false is false) | ||
| console.log(falseValue()) // false | ||
| ``` | ||
| ### Contributing | ||
| Please feel free to file bugs or suggest improvements here: | ||
| https://github.com/js-constant/false-value/issues | ||
| ### Alternatives | ||
| These packages work similarly: | ||
| - [@falsejs/falsejs](https://github.com/tj-commits/falsejs) | ||
| ## Contributing | ||
| please contribute. |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4
33.33%985
-34.72%2
100%2
-33.33%18
-52.63%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
Updated