10 Best JavaScript String Manipulation Libraries

List hand-picked by Openbase Experts
Learn More

slu

slugify

Slugifies a string

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Highly Customizable
GitHub Stars
964
Weekly Downloads
2M
Last Commit
2mos ago
cls

clsx

A tiny (228B) utility for constructing `className` strings conditionally.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
4
Top Feedback
6Easy to Use
4Great Documentation
4Performant
GitHub Stars
3K
Weekly Downloads
5M
Last Commit
10mos ago
us

underscore.string

String manipulation helpers for javascript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
2M
Last Commit
3yrs ago
num

numeral

A javascript library for formatting and manipulating numbers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
8
Top Feedback
4Easy to Use
3Great Documentation
3Performant
GitHub Stars
9K
Weekly Downloads
762K
Last Commit
5yrs ago
voc

voca

The ultimate JavaScript string library

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
GitHub Stars
3K
Weekly Downloads
107K
Last Commit
2yrs ago
str

string

Extra JavaScript string methods.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
GitHub Stars
2K
Weekly Downloads
106K
Last Commit
5yrs ago
sub

subslate

A configurable template string replacement library for Node.js, web, and Deno

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Performant
1Highly Customizable
GitHub Stars
1
Weekly Downloads
1
Last Commit
10mos ago
sk

string-kit

A string manipulation toolbox

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
15
Weekly Downloads
38K
Last Commit
1mo ago
ms

magic-string

Manipulate strings like a wizard

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
9M
Last Commit
1yr ago

string-hash

Fast string hashing function for Node.JS.

License Icon
License: CC0-1.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
294
Weekly Downloads
3M
Last Commit
3yrs ago
dmp

diff-match-patch

npm package for https://github.com/google/diff-match-patch

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
165
Weekly Downloads
812K
Last Commit
2yrs ago
str

stringz

💯 Super fast unicode-aware string manipulation Javascript library

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
204
Weekly Downloads
63K
Last Commit
8mos ago
str

strman

🏗A Javascript string manipulation library.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
3K
Last Commit
8mos ago
sm

string-manager

string manipulation for javascript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
18
Weekly Downloads
1
Last Commit
1yr ago