Install
boolean
boolean converts lots of things to boolean.
3.2.0Latest, 16 Feb 2022
72MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
38Stars
Deprecated Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Give the agent the existing color-mode hook, not a local darkMode boolean dev.to, 1 Dec 2026
- Make the agent use the existing feature-flag hook, not a hardcoded boolean dev.to, 29 Nov 2026
- Inferred Type Predicates Won't Save filter(Boolean). Here's What Will. dev.to, 27 Nov 2026
- Architectural Wall Miters, T-Junction Trimming & Opening Cuts in TypeScript (Zero CSG Booleans) dev.to, 26 Nov 2026
- Boolean(x) vs !!x, Number vs parseInt, and String() vs toString() dev.to, 23 Nov 2026
On Hacker News
- Please reconsider the Boolean evaluation of midnight 337 points, 208 comments, 6 Mar 2014
- A Polynomial Time Bounded-Error Quantum Algorithm for Boolean Satisfiability 148 points, 125 comments, 22 Jul 2015
- History theft with CSS Boolean algebra 119 points, 34 comments, 24 Jun 2014
- That boolean should probably be something else 105 points, 136 comments, 28 Aug 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.