true-value 2.0.0 → 2.0.5
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 +5 -15
- package/package.json +1 -1
- package/bin/cli.js +0 -15
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## true-value
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Returns the Boolean value `true` using quantum computing and qubit circuit simulation.
|
|
4
4
|
|
|
5
5
|
### Overview
|
|
6
6
|
|
|
@@ -15,26 +15,16 @@ $ npm install true-value
|
|
|
15
15
|
|
|
16
16
|
### Usage
|
|
17
17
|
|
|
18
|
-
Simply require the `true` module. The export is a function which returns the
|
|
19
|
-
Boolean value `true`:
|
|
18
|
+
Simply require the `true-value` module. The export is a function which returns the
|
|
19
|
+
Boolean value `true-value`:
|
|
20
20
|
|
|
21
21
|
```javascript
|
|
22
|
-
var t = require('
|
|
22
|
+
var t = require('true-value')
|
|
23
23
|
, myTrueValue = t();
|
|
24
24
|
|
|
25
|
-
console.log(myTrueValue === true); // Logs
|
|
25
|
+
console.log(myTrueValue === true); // Logs true
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
### CLI
|
|
29
|
-
|
|
30
|
-
If you install `true` globally, you can call it appropriately as a CLI command:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
$ npm install true -g
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
You will likely have to use `sudo` to install it globally.
|
|
37
|
-
|
|
38
28
|
### Tests
|
|
39
29
|
|
|
40
30
|
Running the tests requires the [Jake JavaScript build
|
package/package.json
CHANGED
package/bin/cli.js
DELETED