Skip to content
JS
Package

@xtuc/long

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

v4.2.2, 18 Feb 2019Apache-2.0CommonJSTypes: BundledNumbers and maths
$ npm install @xtuc/long

Key numbers

As of 25 Sept 2026
Weekly downloads
34.8m
+50% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v4.2.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
020m40m60mSept 2025Mar 2026Sept 2026High 44.7m (18 Aug 2026)Low 12.6m (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.

34,800,241 downloads last week, 146,990,839 in the last month. The 12-month change of +50% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
05 in total
Latest version
4.2.2, 18 Feb 20197 years ago
First published
18 Jul 2018
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
9

Major versions

  1. v4 first release 4.0.0, 18 Jul 2018

Recent releases

VersionPublished
4.2.218 Feb 2019
4.2.118 Jul 2018
4.2.018 Jul 2018
4.1.018 Jul 2018
4.0.018 Jul 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
186 kB
Dependencies (0)
None
npm install @xtuc/long
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@xtuc/long@4.2.2/
  • unpkghttps://unpkg.com/@xtuc/long@4.2.2/
  • esm.shhttps://esm.sh/@xtuc/long@4.2.2
PackageWeekly downloadsGzipLast releaseModuleComparison
expr-eval382.7k-6 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.