</>PackageGraphPackageGraph

string-length

npmv7.0.1TypeScript

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

0
Weekly downloads
2
Dependents
2
Dependencies
4/100
Popularity

Overview

string-length is an npm package that get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes. The latest version is 7.0.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes and value a focused 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

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (2 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 string-length.

@jest/reportersjest-watcherstring-length
string-length dependencies dependents

Dependencies

Dev (2)

ava ^6.4.1xo ^1.2.3

Used by

Popular packages that depend on string-length.

Alternatives to string-length

Frequently installed together

Version history

VersionPublishedLicense
7.0.1latest6 months agoMIT
7.0.06 months agoMIT
6.0.03 years agoMIT
5.0.14 years agoMIT
5.0.05 years agoMIT
4.0.25 years agoMIT
4.0.16 years agoMIT
4.0.06 years agoMIT
3.1.07 years agoMIT
3.0.07 years agoMIT
2.0.09 years agoMIT
1.0.111 years agoMIT
1.0.012 years agoMIT
0.1.212 years agoMIT
0.1.112 years agoMIT
0.1.012 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install string-length?

Run `npm install string-length` to add string-length to your npm project.

What license is string-length released under?

string-length is distributed under the MIT license.

How popular is string-length?

string-length has approximately 0 downloads per week and 2 known dependent packages.