Package
@xtuc/long
A Long class for representing a 64-bit two's-complement integer value.
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
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
- v4 first release 4.0.0, 18 Jul 2018
Recent releases
| Version | Published |
|---|---|
| 4.2.2 | 18 Feb 2019 |
| 4.2.1 | 18 Jul 2018 |
| 4.2.0 | 18 Jul 2018 |
| 4.1.0 | 18 Jul 2018 |
| 4.0.0 | 18 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- jsDelivr
https://cdn.jsdelivr.net/npm/@xtuc/long@4.2.2/ - unpkg
https://unpkg.com/@xtuc/long@4.2.2/ - esm.sh
https://esm.sh/@xtuc/long@4.2.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| expr-eval | 382.7k | - | 6 years ago | ESM + CommonJS | - |
Indexability: Indexed.