Skip to content
JS
Package

complex.js

The RAW complex numbers library

v2.4.3, 14 Nov 2025MITESM + CommonJSTypes: Bundled
$ npm install complex.js

Key numbers

As of 25 Sept 2026
Weekly downloads
2.4m
+124% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 months ago
v2.4.3
GitHub stars
252
41 forks
Open issues / PRs
6 / 3
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.6m (25 Aug 2026)Low 667.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,415,260 downloads last week, 12,613,466 in the last month. The 12-month change of +124% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
145 in total
Latest version
2.4.3, 14 Nov 202510 months ago
First published
22 Jun 2015
Last push to GitHub
14 Nov 2025315 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
3
Commits, last 52 weeks
2
Dependents on npm
58

Major versions

  1. v2 first release 2.0.0, 13 Feb 2016
  2. v1 first release 1.0.0, 22 Jun 2015

Recent releases

VersionPublished
2.4.314 Nov 2025
2.4.25 Nov 2024
2.4.130 Oct 2024
2.4.028 Oct 2024
2.3.010 Oct 2024
2.2.59 Oct 2024
2.2.48 Oct 2024
2.2.36 Oct 2024
2.2.26 Oct 2024
2.2.15 Oct 2024
2.2.04 Oct 2024
2.1.112 Apr 2022
2.1.027 Mar 2022
2.0.154 Jul 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
*
Runtimes
-
Unpacked size (npm)
140 kB
Dependencies (0)
None
npm install complex.js

CDN

jsDelivr: 1.8m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/complex.js@2.4.3/
  • unpkghttps://unpkg.com/complex.js@2.4.3/
  • esm.shhttps://esm.sh/complex.js@2.4.3
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.