false-value 2.0.1 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +38 -0
  2. package/index.js +5 -1
  3. package/package.json +14 -4
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ ## false-value
2
+
3
+ Returns the Boolean value `false` using quantum computing and qubit circuit simulation.
4
+
5
+ ### Overview
6
+
7
+ This module should be used when you need a function that returns the Boolean
8
+ value `false`
9
+
10
+ ### Installing
11
+
12
+ ```bash
13
+ $ npm install false-value
14
+ ```
15
+
16
+ ### Usage
17
+
18
+ Simply require the `false-value` module. The export is a function which returns the
19
+ Boolean value `false`:
20
+
21
+ ```javascript
22
+ var t = require('false-value')
23
+ , myFalseValue = f();
24
+
25
+ console.log(myFalseValue === false); // Logs true (if node.js works and false is false)
26
+ ```
27
+
28
+ ### Contributing
29
+
30
+ Please feel free to file bugs or suggest improvements here:
31
+
32
+ https://github.com/js-constant/false-value/issues
33
+
34
+ ### Alternatives
35
+
36
+ These packages work similarly:
37
+
38
+ - [@falsejs/falsejs](https://github.com/tj-commits/falsejs)
package/index.js CHANGED
@@ -1 +1,5 @@
1
- module.exports = require('@not-js/not')(require('true-value'))
1
+ var trueValue = require("true-value")
2
+
3
+ module.exports = function falseValue() {
4
+ return !trueValue()
5
+ }
package/package.json CHANGED
@@ -1,8 +1,19 @@
1
1
  {
2
2
  "name": "false-value",
3
- "version": "2.0.1",
3
+ "version": "2.0.6",
4
4
  "description": "False",
5
- "license": "UNLICENSED",
5
+ "keywords": [
6
+ "false"
7
+ ],
8
+ "homepage": "https://github.com/js-constant/false-value#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/js-constant/false-value/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/js-constant/false-value.git"
15
+ },
16
+ "license": "MIT",
6
17
  "author": "me",
7
18
  "type": "commonjs",
8
19
  "main": "index.js",
@@ -10,7 +21,6 @@
10
21
  "test": "echo \"Error: no test specified\" && exit 1"
11
22
  },
12
23
  "dependencies": {
13
- "@not-js/not": "^1.0.0",
14
- "true-value": "^2.0.0"
24
+ "true-value": "^2.0.5"
15
25
  }
16
26
  }