Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
stringz
Zero-dependency unicode-aware string tools
unicode-byte-truncate
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
jquery-textrange
A jQuery plugin for getting, setting and replacing the selected text in input fields and textareas.
@stdlib/string-substring-before
Return the part of a string before a specified substring.
@stdlib/string-substring-after
Return the part of a string after a specified substring.
substr-polyfill
Modular polyfill for substr(-1) for IE browsers. Respectfully modified from MDN and added to a module.
@akcybex/jstr
`@akcybex/jstr` is a JavaScript library inspired by [Laravel 'Strings'](https://laravel.com/docs/10.x/strings) offering a chainable API for streamlined string manipulation and facilitating common string operations in javascript with enhanced expressivenes
string.prototype.substr
ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3
@stdlib/string-substring-before-last
Return the part of a string before the last occurrence of a specified substring.
@stdlib/string-substring-after-last
Return the part of a string after the last occurrence of a specified substring.
strman.substr
The [strman](https://github.com/dleitee/strman) method `substr` exported as a [Node.js](https://nodejs.org/) module.
@stdlib/string-base-replace-before
Replace the substring before the first occurrence of a specified search string.
key-replace
Replace object keys with String.prototype.replace
mb-substr
mb-substr - Multibyte substr
pinch
String.replace but for JavaScript objects (and JSON).
codh
A collection of data handlers
@pelevesque/supersubstr
Like Javascript's substr, but with wrapping and reversed substrings.
substr-ansi
Get the `String#substr` correctly handling ansi escape codes.
@stdlib/string-replace-before
Replace the substring before the first occurrence of a specified search string.
@stdlib/string-replace-before-cli
Replace the substring before the first occurrence of a specified search string.