true icon indicating copy to clipboard operation
true copied to clipboard

A JavaScript port of the Unix utility 'true'. Returns the Boolean value `true`

Results 17 true issues
Sort by recently updated
recently updated
newest added

If the ES standard is updated and "true" is changed to another keyword (such as yea, yes, or affirmative) it would break this library. Instead of returning true could we...

Since this is a port of the unix utility `true`, I feel it is important to provide a `false` option. Quoting from the man page for GNU `true`: ``` Note,...

I think the current package became a little to slow. Especially since the caching was removed. Are there any suggestions on how to solve this problem? I was thinking maybe...

I ran into problems when trying to use this module. I added the following code for debugging: ``` javascript var t = require('true'); var myTrueValue = t(); console.log(myTrueValue === true);...

Once the module will be more elaborated we will forget about the critical parts. It is very important to keep track of what is doing what otherwise we won't remember...

For us civilised people who needs both Typescript and the functionality to ensure a value is true, having the ES6 import/export and a boolean type-hint would be a huge boost...

NodeJS programs have an exit code of zero by default, so there's no need for any code here.

The function name seems unnecessarily long, so I changed it to `returnTrue`. And the NPM tarball will now contain `index.js`, `bin/cli.js`, `README.md`, and `package.json`.