stdlib
stdlib copied to clipboard
feat: add truncate-middle-code-point 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-code-point
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.
This PR depends on the packages,
-
@stdlib/string/num-code-points
available in https://github.com/stdlib-js/stdlib/pull/1097 -
@stdlib/string/next-code-point
available in https://github.com/stdlib-js/stdlib/pull/1117
Checklist
Please ensure the following tasks are completed before submitting this pull request.
- [x] Read, understood, and followed the contributing guidelines.
@stdlib-js/reviewers