zlwu dd667101ef first commit 1 year ago
..
.github dd667101ef first commit 1 year ago
test dd667101ef first commit 1 year ago
.eslintrc dd667101ef first commit 1 year ago
.nycrc dd667101ef first commit 1 year ago
CHANGELOG.md dd667101ef first commit 1 year ago
LICENSE dd667101ef first commit 1 year ago
README.md dd667101ef first commit 1 year ago
index.d.ts dd667101ef first commit 1 year ago
index.js dd667101ef first commit 1 year ago
package.json dd667101ef first commit 1 year ago
tsconfig.json dd667101ef first commit 1 year ago

README.md

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