Determine if the JS environment has BigInt support.
var hasBigInts = require('has-bigints');
hasBigInts() === true; // if the environment has native BigInt support. Not polyfillable, not forgeable.
Simply clone the repo, npm install
, and run npm test