unicode-length
Get the length of unicode strings
unicode-length@2.1.0 was published on 2022-08-12. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All unicode-length versions · Permanent reference to 2.1.0
Package specifications
| Version | 2.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2022-08-12T22:25:18.814Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 4.28 KiB |
| Published file count | 4 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | lib/unicode-length.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 6 |
| Repository forks | 7 |
Install unicode-length 2.1.0
npm install unicode-length@2.1.0 pnpm add unicode-length@2.1.0 yarn add unicode-length@2.1.0
Runtime dependencies
- punycode ^2.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- punycode@2.3.1 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/unicode-length/2.1.0 — retrieved 2026-10-29T13:01:47.286Z
- https://api.deps.dev/v3/systems/npm/packages/unicode-length/versions/2.1.0 — retrieved 2026-10-29T13:01:47.889Z
- https://api.deps.dev/v3/systems/npm/packages/unicode-length/versions/2.1.0:dependencies — retrieved 2026-10-29T13:01:47.897Z
- https://api.deps.dev/v3/projects/github.com%2Fjviotti%2Funicode-length — retrieved 2026-10-29T13:01:48.024Z