npm.io
1.1.0 • Published 1 year ago

has-bigints

Licence
MIT
Version
1.1.0
Deps
0
Size
14 kB
Vulns
0
Weekly
0
Stars
8

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

Keywords