Skip to content

Commit 653f878

Browse files
committed
Auto-generated commit
1 parent fb9f93c commit 653f878

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454

5555
<details>
5656

57+
- [`5f5bb2d`](https://github.com/stdlib-js/stdlib/commit/5f5bb2d4277a24000b57fb07bc28d821500cd7e8) - **docs:** update namespace table of contents [(#8425)](https://github.com/stdlib-js/stdlib/pull/8425) _(by stdlib-bot, Athan Reines)_
5758
- [`be7e3d0`](https://github.com/stdlib-js/stdlib/commit/be7e3d0ba8775b49db37662e0f509c374025c0c3) - **docs:** resolve lint errors _(by Athan Reines)_
5859
- [`930998f`](https://github.com/stdlib-js/stdlib/commit/930998fbd7e86475339b52d84e41b9d86b97f45f) - **feat:** update `string/base` TypeScript declarations [(#8132)](https://github.com/stdlib-js/stdlib/pull/8132) _(by stdlib-bot)_
5960
- [`b2dd31c`](https://github.com/stdlib-js/stdlib/commit/b2dd31c868ab2cc9d77f035b29de48e741fcc52b) - **chore:** fix main entry field in `package.json` _(by Philipp Burckhardt)_

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ The namespace exposes the following string manipulation functions:
9999
- <span class="signature">[`lowercase( str )`][@stdlib/string/lowercase]</span><span class="delimiter">: </span><span class="description">convert a string to lowercase.</span>
100100
- <span class="signature">[`nextCodePointIndex( string[, fromIndex] )`][@stdlib/string/next-code-point-index]</span><span class="delimiter">: </span><span class="description">return the position of the next Unicode code point in a string after a specified position.</span>
101101
- <span class="signature">[`nextGraphemeClusterBreak( string[, fromIndex] )`][@stdlib/string/next-grapheme-cluster-break]</span><span class="delimiter">: </span><span class="description">return the next extended grapheme cluster break in a string after a specified position.</span>
102+
- <span class="signature">[`numCodePoints( str )`][@stdlib/string/num-code-points]</span><span class="delimiter">: </span><span class="description">return the number of Unicode code points in a string.</span>
102103
- <span class="signature">[`numGraphemeClusters( str )`][@stdlib/string/num-grapheme-clusters]</span><span class="delimiter">: </span><span class="description">return the number of grapheme clusters in a string.</span>
103104
- <span class="signature">[`num2words( value[, options] )`][@stdlib/string/num2words]</span><span class="delimiter">: </span><span class="description">convert a number to a word representation.</span>
104105
- <span class="signature">[`pad( str, len[, options] )`][@stdlib/string/pad]</span><span class="delimiter">: </span><span class="description">pad a string.</span>
@@ -286,6 +287,8 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
286287

287288
[@stdlib/string/next-grapheme-cluster-break]: https://github.com/stdlib-js/string/tree/main/next-grapheme-cluster-break
288289

290+
[@stdlib/string/num-code-points]: https://github.com/stdlib-js/string/tree/main/num-code-points
291+
289292
[@stdlib/string/num-grapheme-clusters]: https://github.com/stdlib-js/string/tree/main/num-grapheme-clusters
290293

291294
[@stdlib/string/num2words]: https://github.com/stdlib-js/string/tree/main/num2words

base/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ The namespace contains the following functions:
9393
- <span class="signature">[`reverse( str )`][@stdlib/string/base/reverse]</span><span class="delimiter">: </span><span class="description">reverse the UTF-16 code units of a string.</span>
9494
- <span class="signature">[`rpad( str, len, pad )`][@stdlib/string/base/right-pad]</span><span class="delimiter">: </span><span class="description">right pad a string.</span>
9595
- <span class="signature">[`rtrim( str )`][@stdlib/string/base/right-trim]</span><span class="delimiter">: </span><span class="description">trim whitespace characters from the end of a string.</span>
96+
- <span class="signature">[`sliceCodePoints( str, start, end )`][@stdlib/string/base/slice-code-points]</span><span class="delimiter">: </span><span class="description">slice a string based on Unicode code point indices.</span>
97+
- <span class="signature">[`sliceGraphemeClusters( str, start, end )`][@stdlib/string/base/slice-grapheme-clusters]</span><span class="delimiter">: </span><span class="description">slice a string based on grapheme cluster (i.e., user-perceived character) indices.</span>
98+
- <span class="signature">[`slice( str, start, end )`][@stdlib/string/base/slice]</span><span class="delimiter">: </span><span class="description">slice UTF-16 code units from a string.</span>
9699
- <span class="signature">[`snakecase( str )`][@stdlib/string/base/snakecase]</span><span class="delimiter">: </span><span class="description">convert a string to snake case.</span>
97100
- <span class="signature">[`startcase( str )`][@stdlib/string/base/startcase]</span><span class="delimiter">: </span><span class="description">capitalize the first letter of each word in a string.</span>
98101
- <span class="signature">[`startsWith( str, search, position )`][@stdlib/string/base/starts-with]</span><span class="delimiter">: </span><span class="description">test if a string starts with the characters of another string.</span>
@@ -273,6 +276,12 @@ str = ns.trim( str );
273276

274277
[@stdlib/string/base/right-trim]: https://github.com/stdlib-js/string/tree/main/base/right-trim
275278

279+
[@stdlib/string/base/slice-code-points]: https://github.com/stdlib-js/string/tree/main/base/slice-code-points
280+
281+
[@stdlib/string/base/slice-grapheme-clusters]: https://github.com/stdlib-js/string/tree/main/base/slice-grapheme-clusters
282+
283+
[@stdlib/string/base/slice]: https://github.com/stdlib-js/string/tree/main/base/slice
284+
276285
[@stdlib/string/base/snakecase]: https://github.com/stdlib-js/string/tree/main/base/snakecase
277286

278287
[@stdlib/string/base/startcase]: https://github.com/stdlib-js/string/tree/main/base/startcase

0 commit comments

Comments
 (0)