Gathering detailed insights and metrics for is-boolean-object
Gathering detailed insights and metrics for is-boolean-object
Gathering detailed insights and metrics for is-boolean-object
Gathering detailed insights and metrics for is-boolean-object
Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
npm install is-boolean-object
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.1
Supply Chain
83.3
Quality
78
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
7 Stars
102 Commits
2 Forks
4 Watchers
1 Branches
1 Contributors
Updated on Feb 05, 2025
Latest Version
1.2.2
Package Id
is-boolean-object@1.2.2
Unpacked Size
25.87 kB
Size
8.89 kB
File Count
12
NPM Version
10.9.2
Node Version
23.6.1
Published on
Feb 05, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
1var isBoolean = require('is-boolean-object');
2var assert = require('assert');
3
4assert.notOk(isBoolean(undefined));
5assert.notOk(isBoolean(null));
6assert.notOk(isBoolean('foo'));
7assert.notOk(isBoolean(function () {}));
8assert.notOk(isBoolean([]));
9assert.notOk(isBoolean({}));
10assert.notOk(isBoolean(/a/g));
11assert.notOk(isBoolean(new RegExp('a', 'g')));
12assert.notOk(isBoolean(new Date()));
13assert.notOk(isBoolean(42));
14assert.notOk(isBoolean(NaN));
15assert.notOk(isBoolean(Infinity));
16
17assert.ok(isBoolean(new Boolean(42)));
18assert.ok(isBoolean(false));
19assert.ok(isBoolean(Object(false)));
20assert.ok(isBoolean(true));
21assert.ok(isBoolean(Object(true)));
Simply clone the repo, npm install
, and run npm test
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More