has-bigints <sup>Version Badge</sup>

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 - Installation

To install has-bigints via this registry, you'll need to install via the --registry parameter with your package manager.

n

NPM

npm install has-bigints --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Yarn

yarn config set registry https://js.registry.sudovanilla.org
yarn install has-bigints

Learn more about the config option.

PNPM

pnpm install has-bigints --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Bun Logo

Bun

bun install has-bigints --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Learn more about setting this up in your bunfig.toml configuration.


For Deno, add the following to your .npmrc file in your directory:

registry="https://js.registry.sudovanilla.org"

Then run the deno install command.

has-bigints - Download

Download Tarball (v1.1.0)

Integrity sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==
SHASUM 28607e965ac967e03cd2a2c70a2636a1edad49fe
Tarball https://js.registry.sudovanilla.org/has-bigints/-/has-bigints-1.1.0.tgz