is-bigint
npmv1.1.0TypeScriptIs this value an ES BigInt?
Adopt with care
is-bigint is usable, with caveats. Last published 646 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 646 days ago.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 17 KB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding is-bigint to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Compatibility
- Node.js
- node >= 0.4
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the is-bigint README.
var isBigInt = require('is-bigint');
assert(!isBigInt(function () {}));
assert(!isBigInt(null));
assert(!isBigInt(function* () { yield 42; return Infinity; });
assert(!isBigInt(Symbol('foo')));
assert(isBigInt(1n));
assert(isBigInt(Object(1n)));is-bigint vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| is-bigintthis page | 0 | 1 | MIT | 1 year ago |
| big-integer | 0 | 1 | Unlicense | 1 day ago |
| is-glob | 137.4M | 3 | MIT | 1 day ago |
| is-wsl | 117.6M | 4 | MIT | 1 day ago |
| is-plain-obj | 112.9M | 1 | MIT | 1 day ago |
| call-bind | 80.7M | 5 | MIT | 1 day ago |
Dependencies
Declared by is-bigint v1.1.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (19)
Used by
Popular packages that depend on is-bigint.
Relationship graph
Dependencies (left) and dependents (right) of is-bigint.
Frequently installed together
Release history
1 release in the last two years, typically about 155 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.1.0latest | 1 year ago | 17 KB | MIT |
| 1.0.4 | 5 years ago | 14 KB | MIT |
| 1.0.3 | 5 years ago | 13 KB | MIT |
| 1.0.2 | 5 years ago | 13 KB | MIT |
| 1.0.1 | 5 years ago | 17 KB | MIT |
| 1.0.0 | 8 years ago | 14 KB | MIT |
Overview
is-bigint is an npm package that is this value an ES BigInt?. It has 1 known dependents in the graph. The latest version is 1.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need is this value an ES BigInt? and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (20 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use is-bigint?
is-bigint is usable, with caveats. Last published 646 days ago.
How do I install is-bigint?
Run `npm install is-bigint` to add is-bigint to your npm project.
How many dependencies does is-bigint have?
is-bigint declares 20 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 17 KB on disk.
What license is is-bigint released under?
is-bigint is distributed under the MIT license.
How popular is is-bigint?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on is-bigint.
Is is-bigint still maintained?
The most recent release of is-bigint (v1.1.0) was published 1 year ago.
Does is-bigint run install scripts?
No. is-bigint does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.