Skip to content
JS
Package category

Strings and text

Slugify, escape, pad, pluralise, diff and transform text.

205 packages1 comparisons

Packages compared

205 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@justrelate/slugify
Slugifier with multi-alphabet transliteration based on ISO and Unicode standards
5.3k---1 year ago
1.0.1
ESM + CommonJSBundledStrings and text
@vierofernando/decancer-linux-arm64-musl
A library that removes common unicode confusables/homoglyphs from strings. (Binary port for linux-arm64-musl)
5.2k---9 days ago
4.0.0
CommonJSNoneSecurity, Strings and text
react-slugify
Slugify a React node
5.2k-32%-1 year ago
5.0.0
ESM + CommonJSBundledStrings and text, React
predictionary
JavaScript dictionary-based word prediction library.
4.8k+639%-4 years ago
1.6.0
CommonJSNoneStrings and text
camelcase-keys-deep
Deeply convert the keys of an object to camelCase
4.6k-40%-10 years ago
0.1.0
CommonJSNoneStrings and text
@stdlib/string-capitalize
Capitalize the first character in a string.
4.5k---7 months ago
0.3.1
CommonJSBundledUtility libraries, Strings and text
namify
Convert a npm package name into a safe-to-use variable name. Use as a mixin in Yeoman generators.
4.3k-17%-12 years ago
0.1.3
CommonJSNoneStrings and text
@gustavnikolaj/string-utils
Template string utilities
4.2k---7 years ago
2.0.0
CommonJSNoneStrings and text
handlebars-helper-pluralize
A Handlebars helper for conditionally pluralizing words
4.2k+83%-11 years ago
1.0.3
CommonJSNoneStrings and text
@stdlib/string-tools-grapheme-cluster-break
Grapheme cluster break tooling.
4.1k---7 months ago
0.2.4
CommonJSBundledUtility libraries, Node.js utilities
@stdlib/assert-has-utf16-surrogate-pair-at
Test if a position in a string marks the start of a UTF-16 surrogate pair.
4.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Strings and text
@stdlib/string-next-grapheme-cluster-break
Return the next extended grapheme cluster break in a string after a specified position.
4.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Node.js utilities
@stdlib/string-code-point-at
Return a Unicode code point from a string at a specified position.
4.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Strings and text
@exodus/ethersproject-strings
String utility functions.
4k---4 years ago
5.4.2-exodus.2
ESM onlyBundledBlockchain and Web3, Strings and text
modern-diacritics
A modern way to latinize/ascii-fold strings and normalize symbols.
4k+171%-4 years ago
2.3.1
ESM + CommonJSBundledStrings and text
@stacksjs/slug
The Stacks slug functionality.
3.9k---today
0.74.68
ESM onlyBundledStrings and text, TypeScript tooling
ts-slug
Generate slugs from strings. Browser & Bun/Node.js compatible.
3.6k+120%-2 months ago
0.1.2
ESM onlyBundledStrings and text, TypeScript tooling
@stdlib/string-split-grapheme-clusters
Split a string by its grapheme cluster breaks.
3.6k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Strings and text
cjk-conv
convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )
3.3k-6%--
1.2.153
CommonJSBundledStrings and text
inflekt
Inflection utilities for pluralization and singularization with PostGraphile-compatible Latin suffix handling
3.2k--1 month ago
0.8.1
ESM + CommonJSBundledStrings and text
@stdlib/string-remove-punctuation
Remove punctuation characters from a string.
3.1k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Strings and text
txt
Utilities for working with text.
3k+308%-12 years ago
1.0.0
CommonJSNoneStrings and text
@stdlib/string-acronym
Generate an acronym for a given string.
3k---7 months ago
0.3.3
CommonJSBundledUtility libraries, Strings and text
mongoose-slug-updater
➔ Schema-based slug plugin for Mongoose ✓ single⋮compound ✓ unique within collection⋮group ✓ nested docs⋮arrays ✓ relative⋮abs paths ✓ sync on change: create⋮save⋮update⋮updateOne⋮updateMany⋮findOneAndUpdate ✓ $set operator ✓ counter⋮shortId
3k+44%-5 years ago
3.3.0
CommonJSNoneURLs and query strings, Strings and text
char-info
Unicode character information library.
3k-31%-10 months ago
0.3.6
ESM + CommonJSBundledParsers and serialisers, TypeScript tooling
shrink-string
Tiny string compression module for Node.
3k-1%-1 year ago
4.0.0
CommonJSBundledCompression and archives, Strings and text
@elsikora/pluralizer
A library for pluralizing words in different languages
2.9k---1 year ago
2.0.0
ESM + CommonJSBundledStrings and text
url-safe-string
Dependency free module to convert strings into URL-safe slugs. Use for routing, SEO, permalinks, or any place you need a clean, URL-friendly string.
2.9k+66%-6 months ago
2.0.0
ESM + CommonJSBundledStrings and text
pg-camelcase
camel-casing for postgres result field names
2.9k+16%--
0.0.3
CommonJSNoneStrings and text
transform-object-keys
Transform object keys into a new one using preset or custom rules
2.8k-37%-5 years ago
1.0.7
CommonJSBundledStrings and text
unicode-astral-regex
A regex to match astral symbols that supports unicode strings.
2.7k+215%-8 years ago
1.0.1
CommonJSNoneStrings and text
mollusc
slugifies even utf-8 chars!
2.5k+259%-8 years ago
2.0.0
CommonJSNoneStrings and text
convert-string-to-number
Convert a string to its numerical value (float or integer)
2.4k+18%--
1.0.3
CommonJSNoneStrings and text
compress-tag
Template literal tag to remove excess whitespace and newlines from strings.
2.3k-9%-3 years ago
3.0.0
CommonJSBundledStrings and text, Compression and archives
sluggo
High-speed, unicode-aware, browser-friendly slug generator
2.3k-92%-3 years ago
1.0.0
CommonJSNoneStrings and text
@lazy-cjk/regexp-range-table
正規表達式範圍對照表 (RegExp range mapping table)
2.3k---19 days ago
1.0.11
ESM + CommonJSBundledStrings and text
clean-text-utils
A Swiss Army Knife of text operations. Great for removing smart quotes, non-ASCII characters, emojis, and more.
2.2k-24%-2 months ago
1.3.0
ESM + CommonJSBundledStrings and text
@stdlib/string-trim
Trim whitespace characters from the beginning and end of a string.
2.2k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Strings and text
@stdlib/string-remove-words
Remove a list of words from a string.
2.2k---7 months ago
0.2.3
CommonJSBundledUtility libraries, Strings and text
@docpensieve/shared
Utilities, constants and errors shared by the DocPensieve packages
2.1k---4 days ago
0.4.0
ESM onlyBundledDocumentation tooling, Strings and text
slugs
pure JavaScript url slug generator for Node.JS with minimal dependencies
2.1k+97%-12 years ago
0.1.3
CommonJSNoneURLs and query strings, Strings and text
sequelize-slugify
Add slugs to sequelize models
2k-38%-4 years ago
1.6.2
CommonJSBundledStrings and text, ORMs and query builders
pretty-num
Lightweight module for formatting numbers to a human readable string
1.7k+0%--
0.6.2
ESM onlyBundledStrings and text
transform-obj-keys
Transform object keys easily using whatever transform function
1.7k-0%-8 years ago
3.0.0
CommonJSNoneStrings and text
mongoose-slug-generator
Mongoose plugin to create slugs and unique slugs in any field
1.7k-54%-10 years ago
1.0.4
CommonJSNoneStrings and text, ORMs and query builders
@adonisjs/lucid-slugify
Generate and persist unique slugs in your database via Lucid models
1.4k---3 months ago
4.0.0
ESM onlyBundledStrings and text
uncase
Wrapper of change-case to create case converter, validator and etc.
1.4k+26%-1 month ago
0.3.0
ESM onlyBundledSchema validation, Strings and text
camel-to-kebab
Convert camelCase inputs to kebab-case outputs.
1.3k-11%-3 years ago
1.1.2
CommonJSBundledStrings and text
split-camelcase
A small module for splitting camelCased strings
1.3k+344%-11 years ago
1.0.1
CommonJSNoneStrings and text
@abp/slugify
ABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. This package is a part of the [ABP Framework](https://abp.io) and contains client-side files.
1.3k---11 days ago
10.6.1
-NoneStrings and text

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.