true-value 2.0.6 → 3.0.1

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.
package/README.md CHANGED
@@ -1,3 +1,18 @@
1
- # true-value@2.0.6
2
-
3
- This version only exists so that 2.0.5 resolves to 3.0.0.
1
+ # true-value
2
+
3
+ Returns the boolean value true.
4
+
5
+ ## Installation
6
+ ```bash
7
+ npm install true-value
8
+ ```
9
+
10
+ ## Usage
11
+ ```js
12
+ const trueValue = require("true-value")
13
+
14
+ console.log(trueValue()) // true
15
+ ```
16
+
17
+ ## Contributing
18
+ please contribute.
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare function trueValue(): boolean
2
+
3
+ export = trueValue
package/index.js CHANGED
@@ -1 +1,3 @@
1
- module.exports = require("true-value")
1
+ const trueValue = require("./true")
2
+
3
+ module.exports = require("literally")(trueValue)
package/package.json CHANGED
@@ -1,28 +1,22 @@
1
1
  {
2
2
  "name": "true-value",
3
- "version": "2.0.6",
3
+ "version": "3.0.1",
4
4
  "description": "True",
5
- "keywords": [
6
- "10x'ly",
7
- "true",
8
- "value"
9
- ],
10
- "homepage": "https://github.com/10xly/true-value#readme",
11
- "bugs": {
12
- "url": "https://github.com/10xly/true-value/issues"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/10xly/true-value.git"
17
- },
18
- "license": "MIT",
19
- "author": "MIT",
20
- "type": "commonjs",
21
5
  "main": "index.js",
22
6
  "scripts": {
23
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "test": "jake test"
8
+ },
9
+ "author": "",
10
+ "license": "EGPSL10X-1.0",
11
+ "homepage": "https://github.com/10xly/true-value",
12
+ "repository": {
13
+ "url": "git+https://github.com/10xly/true-value.git",
14
+ "type": "git"
24
15
  },
16
+ "bugs": "https://github.com/10xly/true-value/issues",
25
17
  "dependencies": {
26
- "true-value3": "npm:true-value@^3.0.0"
18
+ "co-noop": "^0.0.1",
19
+ "literally": "^1.0.0",
20
+ "node-call.next": "^1.0.0"
27
21
  }
28
22
  }
package/true.js ADDED
@@ -0,0 +1,6 @@
1
+ const generatorFn = require("co-noop")
2
+ const call = require("node-call.next")
3
+
4
+ module.exports = (function returnTrue() {
5
+ return call.next(generatorFn()).done
6
+ })()