{"name":"is-boolean-object","version":"1.2.0","keywords":["Boolean","ES6","toStringTag","@@toStringTag","Boolean object","true","false","is-boolean"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"is-boolean-object@1.2.0","homepage":"https://github.com/inspect-js/is-boolean-object#readme","bugs":{"url":"https://github.com/inspect-js/is-boolean-object/issues"},"dist":{"shasum":"9743641e80a62c094b5941c5bb791d66a88e497a","tarball":"http://registry-npm.ywwl.com/is-boolean-object/download/is-boolean-object-1.2.0.tgz","fileCount":12,"integrity":"sha512-kR5g0+dXf/+kXnqI+lu0URKYPKgICtHGGNCDSB10AaUFj3o/HkB3u7WfpRBJGFopxxY0oH3ux7ZsDjLtK7xqvw==","signatures":[{"sig":"MEUCIFoCNcNPrVT9bIqML0mleP7wpuWea+kjM9et0OIMULXzAiEAuGoKt3XIIbOfpJ6xjTMxESg8T6kP5NkZUklMgP/ehO0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25210,"size":8772,"noattachment":false,"key":"/is-boolean-object/-/is-boolean-object-1.2.0.tgz"},"main":"index.js","types":"./index.d.ts","engines":{"node":">= 0.4"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"380f974b2bfb0fc0a9cf24c07987dfc5ad7b0f31","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only && npm run test:harmony && npm run test:corejs","prelint":"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","postlint":"tsc -p . && attw -P","posttest":"npx npm@'>=10.2' audit --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","test:corejs":"nyc tape test-corejs.js","test:harmony":"node --harmony --es-staging test","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"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"]},"repository":{"url":"git://github.com/inspect-js/is-boolean-object.git","type":"git"},"_npmVersion":"10.9.0","description":"Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","directories":{},"_nodeVersion":"23.3.0","dependencies":{"call-bind":"^1.0.7","has-tostringtag":"^1.0.2"},"publishConfig":{"ignore":[".github/workflows","test-corejs.js"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"is":"^3.3.0","nyc":"^10.3.2","tape":"^5.9.0","eclint":"^2.8.1","eslint":"=8.8.0","core-js":"^3.39.0","indexof":"^0.0.1","encoding":"^0.1.13","npmignore":"^0.3.1","in-publish":"^2.0.1","typescript":"next","@types/tape":"^5.6.5","@types/core-js":"^2.5.8","auto-changelog":"^2.5.0","@ljharb/tsconfig":"^0.2.0","@types/call-bind":"^1.0.5","safe-publish-latest":"^2.0.0","@arethetypeswrong/cli":"^0.17.0","@ljharb/eslint-config":"^21.1.1"},"_npmOperationalInternal":{"tmp":"tmp/is-boolean-object_1.2.0_1733121937335_0.38283455051363635","host":"s3://npm-registry-packages"},"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":1733121937535,"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_cnpm_publish_time":1733121937535,"dist-tags":{"latest":"1.2.2"}}