117 Best Node.js Text Processing Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

er

emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
great-docs
1Great Documentation
easy-to-use
1Easy to Use
GitHub Stars
Github Icon
1K
Weekly Downloads
Weekly Downloads Icon
44M
Last Commit
5mo ago
Bundle Size (min+gzip)
2.64KB
Not Tree-Shakeable
sr

safe-regex

Detect possibly catastrophic, exponential-time regular expressions

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
82
Weekly Downloads
Weekly Downloads Icon
16M
Last Commit
9mo ago
Bundle Size (min+gzip)
30.1KB
Not Tree-Shakeable
slu

slugify

Slugifies a string

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
great-docs
1Great Documentation
easy-to-use
1Easy to Use
highly-custom
1Highly Customizable
GitHub Stars
Github Icon
877
Weekly Downloads
Weekly Downloads Icon
1M
Last Commit
8d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

url-parse

Small footprint URL parser that works seamlessly across Node.js and browser environments.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
864
Weekly Downloads
Weekly Downloads Icon
11M
Last Commit
2mo ago
Bundle Size (min+gzip)
2.13KB
Not Tree-Shakeable
com

compromise

modest natural-language processing

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
4
Top Feedback
great-docs
1Great Documentation
easy-to-use
1Easy to Use
performant
1Performant
GitHub Stars
Github Icon
10K
Weekly Downloads
Weekly Downloads Icon
14K
Last Commit
25d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
i18

i18n

Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.6/ 5
5
Top Feedback
great-docs
3Great Documentation
easy-to-use
2Easy to Use
performant
2Performant
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
194K
Last Commit
1mo ago
Bundle Size (min+gzip)
25.4KB
Not Tree-Shakeable

@google-cloud/translate

Node.js client for Google Cloud Translate: Dynamically translate text between thousands of language pairs.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
448
Weekly Downloads
Weekly Downloads Icon
34K
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

natural

general natural language facilities for node

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
2
Top Feedback
easy-to-use
1Easy to Use
performant
1Performant
GitHub Stars
Github Icon
10K
Weekly Downloads
Weekly Downloads Icon
64K
Last Commit
4mo ago
Bundle Size (min+gzip)
1443.4KB
Not Tree-Shakeable

parseurl

parse a url with memoization

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
3
Top Feedback
easy-to-use
2Easy to Use
GitHub Stars
Github Icon
165
Weekly Downloads
Weekly Downloads Icon
17M
Last Commit
2y ago
Bundle Size (min+gzip)
0.58KB
Not Tree-Shakeable
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
easy-to-use
5Easy to Use
great-docs
4Great Documentation
performant
3Performant
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
3M
Last Commit
4mo ago
Bundle Size (min+gzip)
0.30KB
Tree-Shakeable
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
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
2M
Last Commit
3y ago
Bundle Size (min+gzip)
5.45KB
Not Tree-Shakeable
num

numeral

A javascript library for formatting and manipulating numbers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
6
Top Feedback
easy-to-use
3Easy to Use
great-docs
2Great Documentation
performant
2Performant
GitHub Stars
Github Icon
9K
Weekly Downloads
Weekly Downloads Icon
658K
Last Commit
4y ago
Bundle Size (min+gzip)
3.89KB
Not Tree-Shakeable
str

string

Extra JavaScript string methods.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
great-docs
1Great Documentation
easy-to-use
1Easy to Use
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
86K
Last Commit
5y ago
Bundle Size (min+gzip)
8.01KB
Not Tree-Shakeable
sen

sentiment

AFINN-based sentiment analysis for Node.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
11K
Last Commit
2y ago
Bundle Size (min+gzip)
16.4KB
Not Tree-Shakeable
cld

cld

Language detection for Javascript (Node). Based on the CLD2 (Compact Language Detector) library from Google.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
5.0/ 5
1
Top Feedback
bleeding-edge
1Bleeding Edge
GitHub Stars
Github Icon
212
Weekly Downloads
Weekly Downloads Icon
3K
Last Commit
1y ago
Bundle Size (min+gzip)
0.71KB
Not Tree-Shakeable
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
easy-to-use
1Easy to Use
performant
1Performant
highly-custom
1Highly Customizable
GitHub Stars
Github Icon
1
Weekly Downloads
Weekly Downloads Icon
2
Last Commit
4mo ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
fra

franc

Natural language detection

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
3.0/ 5
1
Top Feedback
buggy
1Buggy
GitHub Stars
Github Icon
4K
Weekly Downloads
Weekly Downloads Icon
30K
Last Commit
6mo ago
Bundle Size (min+gzip)
113.1KB
Not Tree-Shakeable

watson-speech

Library for using the IBM Watson Speech to Text and Text to Speech services in web browsers.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
238
Weekly Downloads
Weekly Downloads Icon
502
Last Commit
2mo ago
Bundle Size (min+gzip)
38.2KB
Not Tree-Shakeable
xre

xregexp

Extended JavaScript regular expressions

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
3K
Weekly Downloads
Weekly Downloads Icon
5M
Last Commit
4mo ago
Bundle Size (min+gzip)
46.4KB
Tree-Shakeable
say

say

TTS (text to speech) for node.js. send text from node.js to your speakers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
3.7/ 5
3
Top Feedback
great-docs
4Great Documentation
easy-to-use
3Easy to Use
poor-docs
1Poor Documentation
GitHub Stars
Github Icon
1K
Weekly Downloads
Weekly Downloads Icon
4K
Last Commit
1y ago
Bundle Size (min+gzip)
1.79KB
Not Tree-Shakeable
ret

ret

Tokenizes a string that represents a regular expression.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
73
Weekly Downloads
Weekly Downloads Icon
16M
Last Commit
5mo ago
Bundle Size (min+gzip)
3.01KB
Not Tree-Shakeable

i18next-browser-languagedetector

language detector used in browser environment for i18next

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
462
Weekly Downloads
Weekly Downloads Icon
443K
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@google-cloud/speech

Node.js client for Google Cloud Speech: Speech to text conversion powered by machine learning.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
582
Weekly Downloads
Weekly Downloads Icon
20K
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
ir

is-regexp

Check if a value is a regular expression

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
14
Weekly Downloads
Weekly Downloads Icon
8M
Last Commit
4mo ago
Bundle Size (min+gzip)
0.20KB
Not Tree-Shakeable

@superset-ui/translation

Apache Superset UI packages

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
TypeScript Icon
Deprecated
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
226
Weekly Downloads
Weekly Downloads Icon
599
Last Commit
2d ago
Bundle Size (min+gzip)
5.99KB
Tree-Shakeable

@google-cloud/text-to-speech

Node.js client for Google Cloud Text-to-Speech

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
300
Weekly Downloads
Weekly Downloads Icon
9K
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
lan

languagedetect

🇫🇷 NodeJS language detection library using n-gram

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
2.0/ 5
1
Top Feedback
poor-docs
1Poor Documentation
hard-to-use
1Hard to Use
GitHub Stars
Github Icon
318
Weekly Downloads
Weekly Downloads Icon
15K
Last Commit
1y ago
Bundle Size (min+gzip)
77.4KB
Not Tree-Shakeable
tr

to-regex

Generate a regex from a string or array of strings.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
49
Weekly Downloads
Weekly Downloads Icon
16M
Last Commit
3y ago
Bundle Size (min+gzip)
4.06KB
Not Tree-Shakeable
ng

node-gettext

A JavaScript implementation of gettext, a localization framework.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
175
Weekly Downloads
Weekly Downloads Icon
72K
Last Commit
2mo ago
Bundle Size (min+gzip)
5.10KB
Not Tree-Shakeable
ms

magic-string

Manipulate strings like a wizard

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
1K
Weekly Downloads
Weekly Downloads Icon
7M
Last Commit
7mo ago
Bundle Size (min+gzip)
5.62KB
Tree-Shakeable
sk

string-kit

A string manipulation toolbox

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
14
Weekly Downloads
Weekly Downloads Icon
30K
Last Commit
2mo ago
Bundle Size (min+gzip)
14.2KB
Not Tree-Shakeable
gta

google-tts-api

Google TTS (Text-To-Speech) for node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
192
Weekly Downloads
Weekly Downloads Icon
4K
Last Commit
4mo ago
Bundle Size (min+gzip)
6.84KB
Not Tree-Shakeable
sn

spacy-nlp

Expose Spacy nlp text parsing to Nodejs (and other languages) via socketIO

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
3.0/ 5
1
Top Feedback
great-docs
1Great Documentation
performant
1Performant
GitHub Stars
Github Icon
200
Weekly Downloads
Weekly Downloads Icon
91
Last Commit
1y ago
Bundle Size (min+gzip)
0.31KB
Not Tree-Shakeable
das

discord-anti-spam

A simple discord anti spam node.js module to prevent spam on your discord server

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
108
Weekly Downloads
Weekly Downloads Icon
19K
Last Commit
3mo ago
Bundle Size (min+gzip)
2.34KB
Not Tree-Shakeable
tal

talisman

Straightforward fuzzy matching, information retrieval and NLP building blocks for JavaScript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
599
Weekly Downloads
Weekly Downloads Icon
11K
Last Commit
3mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
aa

akismet-api

Nodejs bindings to the Akismet (https://akismet.com) spam detection service

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
42
Weekly Downloads
Weekly Downloads Icon
2K
Last Commit
19d ago
Bundle Size (min+gzip)
38.0KB
Not Tree-Shakeable

string-hash

Fast string hashing function for Node.JS.

License Icon
License: CC0-1.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
287
Weekly Downloads
Weekly Downloads Icon
2M
Last Commit
2y ago
Bundle Size (min+gzip)
0.19KB
Not Tree-Shakeable
jvu

js-video-url-parser

A javascript parser to extract informations like provider, channel, id, start time from YouTube, Vimeo, Dailymotion, Twitch,... urls

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
197
Weekly Downloads
Weekly Downloads Icon
15K
Last Commit
8mo ago
Bundle Size (min+gzip)
4.47KB
Not Tree-Shakeable
fup

fast-url-parser

Fast url parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
211
Weekly Downloads
Weekly Downloads Icon
1M
Last Commit
6y ago
Bundle Size (min+gzip)
3.59KB
Not Tree-Shakeable

vosk

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
2K
Weekly Downloads
Weekly Downloads Icon
111
Last Commit
11d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

retext-sentiment

plugin to detect sentiment

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
1.0/ 5
1
Top Feedback
N/A
GitHub Stars
Github Icon
97
Weekly Downloads
Weekly Downloads Icon
143
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@jnv/node-nlp

An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
4K
Weekly Downloads
Weekly Downloads Icon
4
Last Commit
11d ago
Bundle Size (min+gzip)
850.9KB
Not Tree-Shakeable
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 Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
154
Weekly Downloads
Weekly Downloads Icon
726K
Last Commit
1y ago
Bundle Size (min+gzip)
6.09KB
Not Tree-Shakeable
ke

keyword-extractor

NPM package for creating a keyword array from a string and excluding stop words.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
131
Weekly Downloads
Weekly Downloads Icon
3K
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

censorify-it

Censor unwanted URLs, emails and telephone numbers to prevent spam

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
5
Weekly Downloads
Weekly Downloads Icon
3K
Last Commit
1mo ago
Bundle Size (min+gzip)
4.62KB
Not Tree-Shakeable

retext-keywords

plugin to extract keywords and key-phrases

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
246
Weekly Downloads
Weekly Downloads Icon
2K
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
tra

translate

🈂️ Translate text on node.js and the browser with promises

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
133
Weekly Downloads
Weekly Downloads Icon
4K
Last Commit
2mo ago
Bundle Size (min+gzip)
158.8KB
Not Tree-Shakeable

schenkerian

[Deprecated] HTML keyword analyzer

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
20
Weekly Downloads
Weekly Downloads Icon
85
Last Commit
5mo ago
Bundle Size (min+gzip)
2213.9KB
Not Tree-Shakeable
mat

matchit

Quickly parse & match URLs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
294
Weekly Downloads
Weekly Downloads Icon
35K
Last Commit
10mo ago
Bundle Size (min+gzip)
0.72KB
Tree-Shakeable
str

stringz

💯 Super fast unicode-aware string manipulation Javascript library

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
N/A
Top Feedback
N/A
GitHub Stars
Github Icon
187
Weekly Downloads
Weekly Downloads Icon
38K
Last Commit
3mo ago
Bundle Size (min+gzip)
1.12KB
Not Tree-Shakeable