{"_id":"is-bigint","_rev":"3745047","name":"is-bigint","description":"Is this value an ES BigInt?","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-02-13T06:28:25.000Z","created":"2018-09-21T03:02:53.146Z","1.1.0":"2024-12-02T18:42:58.216Z","1.0.4":"2021-08-12T05:51:11.120Z","1.0.3":"2021-08-06T17:06:39.008Z","1.0.2":"2021-05-04T20:45:53.325Z","1.0.1":"2020-11-30T22:45:51.050Z","1.0.0":"2018-09-21T03:02:53.146Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-bigint.git"},"versions":{"1.1.0":{"name":"is-bigint","version":"1.1.0","description":"Is this value an ES BigInt?","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint .","postlint":"tsc -p . && attw -P","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production","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+https://github.com/inspect-js/is-bigint.git"},"keywords":["bigint","es","integer","is"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-bigint/issues"},"homepage":"https://github.com/inspect-js/is-bigint#readme","dependencies":{"has-bigints":"^1.0.2"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.0","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.0","@types/for-each":"^0.3.3","@types/object-inspect":"^1.13.0","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","encoding":"^0.1.13","es-value-fixtures":"^1.5.0","eslint":"=8.8.0","for-each":"^0.3.3","has-tostringtag":"^1.0.2","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.3","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"_id":"is-bigint@1.1.0","gitHead":"a9153e8408499e6531db1db8ccaea27c7e64fdb1","types":"./index.d.ts","_nodeVersion":"23.3.0","_npmVersion":"10.9.0","dist":{"shasum":"dda7a3445df57a42583db4228682eba7c4170672","size":6689,"noattachment":false,"key":"/is-bigint/-/is-bigint-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-bigint/download/is-bigint-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-bigint_1.1.0_1733164977934_0.9992967935355623"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-02T18:42:58.216Z","publish_time":1733164978216,"_source_registry_name":"default","_cnpm_publish_time":1733164978216},"1.0.4":{"name":"is-bigint","version":"1.0.4","description":"Is this value an ES BigInt?","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","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+https://github.com/inspect-js/is-bigint.git"},"keywords":["bigint","es","integer","is"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-bigint/issues"},"homepage":"https://github.com/inspect-js/is-bigint#readme","dependencies":{"has-bigints":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^7.32.0","has-symbols":"^1.0.2","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"726750ea98291eaf3ac6aae247f638eb3a94d343","_id":"is-bigint@1.0.4","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"08147a1875bc2b32005d41ccd8291dffc6691df3","size":5746,"noattachment":false,"key":"/is-bigint/-/is-bigint-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-bigint/download/is-bigint-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-bigint_1.0.4_1628747470915_0.7417934055665594"},"_hasShrinkwrap":false,"publish_time":1628747471120,"_cnpm_publish_time":1628747471120},"1.0.3":{"name":"is-bigint","version":"1.0.3","description":"Is this value an ES BigInt?","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","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+https://github.com/inspect-js/is-bigint.git"},"keywords":["bigint","es","integer","is"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-bigint/issues"},"homepage":"https://github.com/inspect-js/is-bigint#readme","devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^7.32.0","has-bigints":"^1.0.1","has-symbols":"^1.0.2","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"e0e521789e0a6acaa28bc52f7067b88bc32457d4","_id":"is-bigint@1.0.3","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"fc9d9e364210480675653ddaea0518528d49a581","size":5490,"noattachment":false,"key":"/is-bigint/-/is-bigint-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-bigint/download/is-bigint-1.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-bigint_1.0.3_1628269598824_0.1650569909297812"},"_hasShrinkwrap":false,"publish_time":1628269599008,"_cnpm_publish_time":1628269599008},"1.0.2":{"name":"is-bigint","version":"1.0.2","description":"Is this value an ES BigInt?","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","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+https://github.com/inspect-js/is-bigint.git"},"keywords":["bigint","es","integer","is"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-bigint/issues"},"homepage":"https://github.com/inspect-js/is-bigint#readme","devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.2.1","eslint":"^7.25.0","has-symbols":"^1.0.2","nyc":"^10.3.2","object-inspect":"^1.10.2","safe-publish-latest":"^1.1.4","tape":"^5.2.2"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"643e419876c0a433045db020abc38a639c4bcbec","_id":"is-bigint@1.0.2","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"ffb381442503235ad245ea89e45b3dbff040ee5a","size":5298,"noattachment":false,"key":"/is-bigint/-/is-bigint-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-bigint/download/is-bigint-1.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-bigint_1.0.2_1620161153208_0.9407842484031812"},"_hasShrinkwrap":false,"publish_time":1620161153325,"_cnpm_publish_time":1620161153325},"1.0.1":{"name":"is-bigint","version":"1.0.1","description":"Is this value an ES BigInt?","main":"index.js","scripts":{"prepublish":"safe-publish-latest","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","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+https://github.com/ljharb/is-bigint.git"},"keywords":["bigint","es","integer","is"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-bigint/issues"},"homepage":"https://github.com/ljharb/is-bigint#readme","devDependencies":{"@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.14.0","has-symbols":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.8.0","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"dependencies":{},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"b5ad9572b0202912902467e1ba21dd4eb3ba40e6","_id":"is-bigint@1.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"shasum":"6923051dfcbc764278540b9ce0e6b3213aa5ebc2","size":5929,"noattachment":false,"key":"/is-bigint/-/is-bigint-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-bigint/download/is-bigint-1.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-bigint_1.0.1_1606776350933_0.26927683703781624"},"_hasShrinkwrap":false,"publish_time":1606776351050,"_cnpm_publish_time":1606776351050},"1.0.0":{"name":"is-bigint","version":"1.0.0","description":"Is this value an ES BigInt?","main":"index.js","scripts":{"prepublish":"safe-publish-latest","lint":"eslint .","pretest":"npm run lint","tests-only":"node test","test":"npm run tests-only"},"repository":{"type":"git","url":"git+https://github.com/ljharb/is-bigint.git"},"keywords":["bigint","es","integer","is"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-bigint/issues"},"homepage":"https://github.com/ljharb/is-bigint#readme","devDependencies":{"@ljharb/eslint-config":"^13.0.0","eslint":"^5.6.0","has-symbols":"^1.0.0","object-inspect":"^1.6.0","safe-publish-latest":"^1.1.2","tape":"^4.9.1"},"dependencies":{},"gitHead":"3b0fdc23f050de211667d69ca168e33ad0e56b9d","_id":"is-bigint@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"73da8c33208d00f130e9b5e15d23eac9215601c4","size":3890,"noattachment":false,"key":"/is-bigint/-/is-bigint-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-bigint/download/is-bigint-1.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-bigint_1.0.0_1537498972993_0.9980297650840038"},"_hasShrinkwrap":false,"publish_time":1537498973146,"_cnpm_publish_time":1537498973146}},"readme":"# is-bigint <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 an ES BigInt value?\n\n## Example\n\n```js\nvar isBigInt = require('is-bigint');\nassert(!isBigInt(function () {}));\nassert(!isBigInt(null));\nassert(!isBigInt(function* () { yield 42; return Infinity; });\nassert(!isBigInt(Symbol('foo')));\n\nassert(isBigInt(1n));\nassert(isBigInt(Object(1n)));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-bigint\n[2]: https://versionbadg.es/inspect-js/is-bigint.svg\n[5]: https://david-dm.org/inspect-js/is-bigint.svg\n[6]: https://david-dm.org/inspect-js/is-bigint\n[7]: https://david-dm.org/inspect-js/is-bigint/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-bigint#info=devDependencies\n[11]: https://nodei.co/npm/is-bigint.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-bigint.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-bigint.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-bigint\n[codecov-image]: https://codecov.io/gh/inspect-js/is-bigint/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-bigint/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-bigint\n[actions-url]: https://github.com/inspect-js/is-bigint/actions\n","_attachments":{},"homepage":"https://github.com/inspect-js/is-bigint#readme","bugs":{"url":"https://github.com/inspect-js/is-bigint/issues"},"license":"MIT"}