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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    26,876,655
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    26,876,655
  • 1.0.1
    3,130,730
  • 1.0.0
    108

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