stdlib
stdlib copied to clipboard
feat: add truncate-middle-grapheme-cluster string package
Part of https://github.com/stdlib-js/stdlib/issues/1062
Description
What is the purpose of this pull request?
This pull request:
- Adds
@stdlib/string/base/truncate-middle-grapheme-cluster
Related Issues
Does this pull request have any related issues?
This pull request:
- Part of https://github.com/stdlib-js/stdlib/issues/1062
Questions
Any questions for reviewers of this pull request?
No.
Other
Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.
No.
Checklist
Please ensure the following tasks are completed before submitting this pull request.
- [x] Read, understood, and followed the contributing guidelines.
@stdlib-js/reviewers
Coverage Report
Package | Statements | Branches | Functions | Lines |
---|---|---|---|---|
string/base/truncate-middle-grapheme-cluster | $\color{green}150/150$ $\color{green}+100.00\%$ |
$\color{green}14/14$ $\color{green}+100.00\%$ |
$\color{green}1/1$ $\color{green}+100.00\%$ |
$\color{green}150/150$ $\color{green}+100.00\%$ |
The above coverage report was generated for the changes in this PR.
Coverage Report
Package | Statements | Branches | Functions | Lines |
---|---|---|---|---|
string/base/truncate-middle-grapheme-cluster | $\color{green}150/150$ $\color{green}+100.00\%$ |
$\color{green}14/14$ $\color{green}+100.00\%$ |
$\color{green}1/1$ $\color{green}+100.00\%$ |
$\color{green}150/150$ $\color{green}+100.00\%$ |
The above coverage report was generated for the changes in this PR.
Coverage Report
Package | Statements | Branches | Functions | Lines |
---|---|---|---|---|
string/base/truncate-middle-grapheme-cluster | $\color{green}149/149$ $\color{green}+100.00\%$ |
$\color{green}13/13$ $\color{green}+100.00\%$ |
$\color{green}1/1$ $\color{green}+100.00\%$ |
$\color{green}149/149$ $\color{green}+100.00\%$ |
The above coverage report was generated for the changes in this PR.