Skip to content
JS
Package

chai-bn

Chai assertions for comparing arbitrary-precision integers using the bignumber.js library

v0.3.1, 25 Jan 2022MITCommonJSTypes: BundledNumbers and mathsTesting
$ npm install chai-bn

Key numbers

As of 25 Sept 2026
Weekly downloads
15.1k
+44% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v0.3.1
GitHub stars
14
12 forks
Open issues / PRs
5 / 7
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 29.3k (18 Aug 2026)Low 3.5k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

15,067 downloads last week, 81,963 in the last month. The 12-month change of +44% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.3.1, 25 Jan 20224 years ago
First published
-
Last push to GitHub
4 Sept 202620 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
7
Commits, last 52 weeks
0
Dependents on npm
22

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (0)
None
Peer dependencies (2)
chaibn.js
npm install chai-bn
  • jsDelivrhttps://cdn.jsdelivr.net/npm/chai-bn@0.3.1/
  • unpkghttps://unpkg.com/chai-bn@0.3.1/
  • esm.shhttps://esm.sh/chai-bn@0.3.1
PackageWeekly downloadsGzipLast releaseModuleComparison
chai-bignumber6.1k-3 years agoCommonJS-
decimal.js63.9m-1 year agoESM + CommonJS-
bignumber.js43.2m-2 months agoESM + CommonJS-
decimal.js-light42.2m-5 years agoESM + CommonJS-
big.js29.1m-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.