grapheme-splitter
npmv1.0.4A JavaScript library that breaks strings into their individual user-perceived characters. It supports emojis!
Not recommended for new projects
No — grapheme-splitter should not be adopted for new projects. Last published 2920 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 2920 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 231 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding grapheme-splitter to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the grapheme-splitter README.
"🌷".length == 2grapheme-splitter vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| grapheme-splitterthis page | 0 | 1 | MIT | 8 years ago |
| split-on-first | 9.7M | 1 | MIT | 1 day ago |
| strip-bom | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by grapheme-splitter v1.0.4. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (1)
Used by
Popular packages that depend on grapheme-splitter.
Relationship graph
Dependencies (left) and dependents (right) of grapheme-splitter.
Frequently installed together
A high-level API to control headless Chrome over the DevTools Protocol
Check if a value is a plain object
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
A simple list of CSS shorthand properties and which longhand properties they expand to
Create, read and edit .zip files with JavaScript http://stuartk.com/jszip
The lodash method `_.cloneDeep` exported as a module.
TypeScript definitions for @sinonjs/fake-timers
Utility package providing type information for a variety of WebdriverIO interfaces
A WDIO helper utility to provide several utility functions used across the project.
CSS value parser
React Element Selector Query (resq) - Query React components and children by selector (component name)
lightweight rgb/rgba to hex parser
Release history
No releases in the last two years, typically about 20 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.4latest | 8 years ago | 231 KB | MIT |
| 1.0.3 | 8 years ago | 231 KB | MIT |
| 1.0.2 | 9 years ago | — | MIT |
| 1.0.1 | 9 years ago | — | MIT |
Overview
grapheme-splitter is an npm package that a JavaScript library that breaks strings into their individual user-perceived characters. It supports emojis!. It has 1 known dependents in the graph. The latest version is 1.0.4, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a JavaScript library that breaks strings into their individual user-perceived characters. It supports emojis! and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (1 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use grapheme-splitter?
No — grapheme-splitter should not be adopted for new projects. Last published 2920 days ago.
How do I install grapheme-splitter?
Run `npm install grapheme-splitter` to add grapheme-splitter to your npm project.
What license is grapheme-splitter released under?
grapheme-splitter is distributed under the MIT license.
How popular is grapheme-splitter?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on grapheme-splitter.
Is grapheme-splitter still maintained?
The most recent release of grapheme-splitter (v1.0.4) was published 8 years ago.
Does grapheme-splitter run install scripts?
No. grapheme-splitter does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.