https://github.com/sindresorhus/string-length
Score: 5.153291594497779
Last synced: about 21 hours ago
JSON representation
Repository metadata:
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
- Host: GitHub
- URL: https://github.com/sindresorhus/string-length
- Owner: sindresorhus
- License: mit
- Created: 2014-04-16T21:48:16.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2026-01-21T14:39:15.000Z (4 months ago)
- Last Synced: 2026-05-22T06:53:57.165Z (10 days ago)
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 173
- Watchers: 6
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Security: .github/security.md
-
Funding:
- Github: sindresorhus
- Open collective: sindresorhus
- Buy me a coffee: sindresorhus
- Custom: https://sindresorhus.com/donate
Owner metadata:
- Name: Sindre Sorhus
- Login: sindresorhus
- Email:
- Kind: user
- Description: Full-Time Open-Sourcerer. Focused on Swift & JavaScript. Makes macOS apps, CLI tools, npm packages.
- Website: https://sindresorhus.com/apps
- Location:
- Twitter: sindresorhus
- Company:
- Icon url: https://avatars.githubusercontent.com/u/170270?u=34acd557a042ac478d273a4621570cadb6b0bd89&v=4
- Repositories: 1111
- Last Synced at: 2024-10-29T21:14:09.635Z
- Profile URL: https://github.com/sindresorhus
Dependencies
package.json
npm
- ava ^3.15.0 development
- tsd ^0.17.0 development
- xo ^0.44.0 development
- char-regex ^2.0.0
- strip-ansi ^7.0.1