licenses.dev

string-length v0.1.2

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 • 0.1.0Regular expression for matching ANSI escape codesINDIRECT0
strip-ansi • 0.2.2Strip 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 0.1.2 version:

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