has-bigints
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/has-bigints package

1.0.2 • 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

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i has-bigints

    Weekly Downloads

    30,007,493

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    12.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • ljharb