PC/node_modules/has-bigints
2026-01-26 23:20:48 +08:00
..
.github chushihua 2026-01-26 23:20:48 +08:00
test chushihua 2026-01-26 23:20:48 +08:00
.eslintrc chushihua 2026-01-26 23:20:48 +08:00
.nycrc chushihua 2026-01-26 23:20:48 +08:00
CHANGELOG.md chushihua 2026-01-26 23:20:48 +08:00
index.js chushihua 2026-01-26 23:20:48 +08:00
LICENSE chushihua 2026-01-26 23:20:48 +08:00
package.json chushihua 2026-01-26 23:20:48 +08:00
README.md chushihua 2026-01-26 23:20:48 +08:00

has-bigints Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has BigInt support.

Example

var hasBigInts = require('has-bigints');

hasBigInts() === true; // if the environment has native BigInt support. Not polyfillable, not forgeable.

Tests

Simply clone the repo, npm install, and run npm test