Skip to content
JS
Package

long

A Long class for representing a 64-bit two's-complement integer value.

v5.3.2, 17 Apr 2025Apache-2.0ESM + CommonJSTypes: BundledNumbers and maths
$ npm install long

Key numbers

As of 25 Sept 2026
Weekly downloads
63.6m
+118% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v5.3.2
GitHub stars
918
206 forks
Open issues / PRs
1 / 1
Contributors
19
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 88.8m (25 Aug 2026)Low 22.4m (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.

63,637,964 downloads last week, 318,092,938 in the last month. The 12-month change of +118% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
039 in total
Latest version
5.3.2, 17 Apr 20251 year ago
First published
12 Mar 2013
Last push to GitHub
6 Sept 202618 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
2,874

Major versions

  1. v5 first release 5.0.0, 28 Oct 2021
  2. v4 first release 4.0.0, 3 Feb 2018
  3. v3 first release 3.0.0, 23 Oct 2015
  4. v2 first release 2.0.0, 11 Aug 2014
  5. v1 first release 1.0.0, 12 Mar 2013

Recent releases

VersionPublished
5.3.217 Apr 2025
5.3.117 Feb 2025
5.3.010 Feb 2025
5.2.510 Feb 2025
5.2.410 Jan 2025
5.2.316 Apr 2023
5.2.216 Apr 2023
5.2.13 Nov 2022
5.2.026 Nov 2021
5.1.030 Oct 2021
5.0.129 Oct 2021
5.0.028 Oct 2021
4.0.03 Feb 2018
3.2.022 Jul 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
136 kB
Dependencies (0)
None
npm install long

CDN

jsDelivr: 390.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/long@5.3.2/
  • unpkghttps://unpkg.com/long@5.3.2/
  • esm.shhttps://esm.sh/long@5.3.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.