licenses.dev

string-length v1.0.1

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

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

MIT2
PackageRelationDependenciesPublished
ansi-regex • 2.1.1Regular expression for matching ANSI escape codesINDIRECT0
strip-ansi • 3.0.1Strip ANSI escape codesDIRECT1
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/npm/string-length)](https://licenses.dev/npm/string-length)
<a href="https://licenses.dev/npm/string-length">
  <img src="https://licenses.dev/b/npm/string-length" alt="licenses" />
</a>

Or the licenses badge code for the 1.0.1 version:

[![licenses](https://licenses.dev/b/npm/string-length/1.0.1)](https://licenses.dev/npm/string-length/1.0.1)
<a href="https://licenses.dev/npm/string-length/1.0.1">
  <img src="https://licenses.dev/b/npm/string-length/1.0.1" alt="licenses" />
</a>
GitHub