long
npmv5.3.2TypeScriptA Long class for representing a 64-bit two's-complement integer value.
Overview
long is an npm package that a Long class for representing a 64-bit two's-complement integer value. It is extremely widely used, with about 70.6M downloads per week and 1 known dependents in the graph. The latest version is 5.3.2, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need a Long class for representing a 64-bit two's-complement integer value and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (70.6M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (Apache-2.0).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of long.
Dependencies
Dev (3)
Used by
Popular packages that depend on long.
Frequently installed together
TypeScript definitions for node
Prettier is an opinionated code formatter
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
The fastest javascript implementation of a double-ended queue. Used by the official Redis, MongoDB, MariaDB & MySQL libraries for Node.js and many other libraries. Maintains compatability with deque.
Module that helps you write generated functions in Node
sql named placeholders to unnamed compiler
AWS RDS SSL certificates bundles.
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
Convert character encodings in pure javascript.
Version history
| Version | Published | License |
|---|---|---|
| 5.3.2latest | 1 year ago | Apache-2.0 |
| 5.3.1 | 1 year ago | Apache-2.0 |
| 5.3.0 | 1 year ago | Apache-2.0 |
| 5.2.5 | 1 year ago | Apache-2.0 |
| 5.2.4 | 1 year ago | Apache-2.0 |
| 5.2.3 | 3 years ago | Apache-2.0 |
| 5.2.2 | 3 years ago | Apache-2.0 |
| 5.2.1 | 3 years ago | Apache-2.0 |
| 5.2.0 | 4 years ago | Apache-2.0 |
| 5.1.0 | 4 years ago | Apache-2.0 |
| 5.0.1 | 4 years ago | Apache-2.0 |
| 5.0.0 | 4 years ago | Apache-2.0 |
| 4.0.0 | 8 years ago | Apache-2.0 |
| 3.2.0 | 10 years ago | Apache-2.0 |
| 3.1.0 | 10 years ago | Apache-2.0 |
| 3.0.3 | 10 years ago | Apache-2.0 |
| 3.0.1 | 10 years ago | Apache-2.0 |
| 3.0.0 | 10 years ago | Apache-2.0 |
| 2.4.0 | 10 years ago | Apache-2.0 |
| 2.3.0 | 10 years ago | Apache-2.0 |
Maintainers
Frequently asked questions
How do I install long?
Run `npm install long` to add long to your npm project.
What license is long released under?
long is distributed under the Apache-2.0 license.
How popular is long?
long has approximately 70,637,584 downloads per week and 1 known dependent packages.