has-bigints
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

/has-bigints/

    Package Sidebar

    Install

    npm i has-bigints

    Weekly Downloads

    29,162,364

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    14.8 kB

    Total Files

    11

    Last publish

    Collaborators

    • ljharb