{"versions":{"1.0.0":{"name":"boolbase","version":"1.0.0","description":"two functions: One that returns true, one that returns false","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/fb55/boolbase"},"keywords":["boolean","function"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"ISC","bugs":{"url":"https://github.com/fb55/boolbase/issues"},"homepage":"https://github.com/fb55/boolbase","_id":"boolbase@1.0.0","dist":{"shasum":"68dff5fbe60c51eb37725ea9e3ed310dcc1e776e","size":851,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/boolbase/-/boolbase-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.2","_npmUser":{"name":"anonymous","email":"me@feedic.com"},"maintainers":[{"name":"anonymous","email":"me@feedic.com"}],"directories":{},"publish_time":1392475490620,"_cnpm_publish_time":1392475490620,"_hasShrinkwrap":false,"contributors":[]},"2.0.0":{"name":"boolbase","version":"2.0.0","type":"module","description":"two functions: One that returns true, one that returns false","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc","test":"npm run build && node --test","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/fb55/boolbase.git"},"keywords":["boolean","function"],"author":{"name":"Felix Boehm","email":"me@feedic.com"},"license":"ISC","bugs":{"url":"https://github.com/fb55/boolbase/issues"},"homepage":"https://github.com/fb55/boolbase","engines":{"node":">=20.19.0"},"funding":{"type":"github","url":"https://github.com/sponsors/fb55"},"devDependencies":{"typescript":"^5.9.3"},"gitHead":"ede159ca6b89b9709e7322c53eeb385ac7fdfefb","_id":"boolbase@2.0.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-DkVaaQHymRhpYEYo9x1oo7Q7B0Y6KJUsjm3c9eTyFDby4MHLBTwZ6ZDWBel5zrYxj1WsZgC5oLpiz+93MluXeA==","shasum":"832968d211d5c008d833b86e049bb3943036e5b1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/boolbase/-/boolbase-2.0.0.tgz","fileCount":6,"unpackedSize":2781,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/boolbase@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCfp5h65RYoT6bnqT6R5b7FvqgTNsJtLWhSWIErpvb0KgIgRhcBS+xXGsh9nc8x91uqMPjTwpOf++AD4OsOyGUnoJ0="}],"size":1622},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:25d4a7c0-cd3a-4615-b752-07937a68a69d"}},"directories":{},"maintainers":[{"name":"anonymous","email":"me@feedic.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/boolbase_2.0.0_1773753204402_0.5262832799539794"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-17T13:13:24.549Z","publish_time":1773753204549,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.0.0"},"name":"boolbase","time":{"modified":"2026-03-17T13:13:36.785Z","created":"2022-01-26T20:57:18.665Z","1.0.0":"2014-02-15T14:44:50.620Z","2.0.0":"2026-03-17T13:13:24.549Z"},"readme":"# boolbase\nThis very simple module provides two basic functions, one that always returns true (`trueFunc`) and one that always returns false (`falseFunc`).\n\n### Why is this needed?\n\nBy having only a single instance of these functions around, it's possible to do some nice optimizations.\nEg. [`css-select`](https://github.com/fb55/css-select) uses these functions to determine whether a selector won't match any elements\nIf that's the case, the DOM doesn't even need to be touched.\n\n### And why is this a separate module?\n\nI'm trying to modularize `css-select` and most modules depend on these functions.\nIMHO, having a separate module is the easiest solution to this problem.","users":{}}