{"name":"is-boolean-object","version":"1.2.2","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:harmony && npm run test:corejs","tests-only":"nyc tape 'test/**/*.js'","test:harmony":"node --harmony --es-staging test","test:corejs":"nyc tape test-corejs.js","posttest":"npx npm@'>=10.2' audit --production","prelint":"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')","lint":"eslint --ext=js,mjs .","postlint":"tsc -p . && attw -P","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-boolean-object.git"},"keywords":["Boolean","ES6","toStringTag","@@toStringTag","Boolean object","true","false","is-boolean"],"dependencies":{"call-bound":"^1.0.3","has-tostringtag":"^1.0.2"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.3","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.3","@types/core-js":"^2.5.8","@types/object-inspect":"^1.13.0","@types/tape":"^5.8.1","auto-changelog":"^2.5.0","core-js":"^3.40.0","eclint":"^2.8.1","encoding":"^0.1.13","eslint":"=8.8.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.4","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","test-corejs.js"]},"_id":"is-boolean-object@1.2.2","gitHead":"a17a5a3b37ef995e94161dc77568359446392cfb","types":"./index.d.ts","bugs":{"url":"https://github.com/inspect-js/is-boolean-object/issues"},"homepage":"https://github.com/inspect-js/is-boolean-object#readme","_nodeVersion":"23.6.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==","shasum":"7067f47709809a393c71ff5bb3e135d8a9215d9e","tarball":"http://registry-npm.ywwl.com/is-boolean-object/download/is-boolean-object-1.2.2.tgz","fileCount":12,"unpackedSize":26486,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCDvFMcqelZ4fN+KIQXgysnRFk75YkFQZY454+dASItGQIhANOoc8P/Qlr2Ks75pxSGq7Za9nLnsDR7O7Yt0irtakqs"}],"size":9108,"noattachment":false,"key":"/is-boolean-object/-/is-boolean-object-1.2.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-boolean-object_1.2.2_1738723691877_0.9116973161167243"},"_hasShrinkwrap":false,"readme":"# is-boolean-object <sup>[![Version Badge][2]][1]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isBoolean = require('is-boolean-object');\nvar assert = require('assert');\n\nassert.notOk(isBoolean(undefined));\nassert.notOk(isBoolean(null));\nassert.notOk(isBoolean('foo'));\nassert.notOk(isBoolean(function () {}));\nassert.notOk(isBoolean([]));\nassert.notOk(isBoolean({}));\nassert.notOk(isBoolean(/a/g));\nassert.notOk(isBoolean(new RegExp('a', 'g')));\nassert.notOk(isBoolean(new Date()));\nassert.notOk(isBoolean(42));\nassert.notOk(isBoolean(NaN));\nassert.notOk(isBoolean(Infinity));\n\nassert.ok(isBoolean(new Boolean(42)));\nassert.ok(isBoolean(false));\nassert.ok(isBoolean(Object(false)));\nassert.ok(isBoolean(true));\nassert.ok(isBoolean(Object(true)));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-boolean-object\n[2]: https://versionbadg.es/inspect-js/is-boolean-object.svg\n[5]: https://david-dm.org/inspect-js/is-boolean-object.svg\n[6]: https://david-dm.org/inspect-js/is-boolean-object\n[7]: https://david-dm.org/inspect-js/is-boolean-object/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-boolean-object#info=devDependencies\n[11]: https://nodei.co/npm/is-boolean-object.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-boolean-object.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-boolean-object.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-boolean-object\n[codecov-image]: https://codecov.io/gh/inspect-js/is-boolean-object/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-boolean-object/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-boolean-object\n[actions-url]: https://github.com/inspect-js/is-boolean-object/actions\n","publish_time":1738723692118,"_cnpm_publish_time":1738723692118,"dist-tags":{"latest":"1.2.2"}}