@jsonjoy.com/util
Various helper utilities
Found 9483 results for string utilities
Various helper utilities
Useful utilities for working with Uint8Array (and Buffer)
TypeScript Enum Utilities
Various helper utilities for working with buffers and binary data
A collection of personal utilities to live a happier life
String utilities for Node.js and JavaScript
Template string utilities
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Emoji-aware unicode string utilities
Fuzzy string matching algorithms and utilities, port of the TheFuzz Python library.
Useful JS utilities.
A set of string utilities for parsing and assembly
Lots of utilities for Node.js
A collection of utilities for JavaScript strings
A useful library of utilities used by KeystoneJS, and you!
Utilities for Greek language such as accent and diacritics replacement
A collection of utilities for manipulating text.
Safe parsing utilities for strings and floats
Utilities for TypeScript library
Hexadecimal utilities
A collection of string manipulation utilities for TypeScript.
Utilities for calculating fingerings on string instruments
String utilities
Additional Zod schemas and utilities.
MCP server providing random generation utilities including UUID, numbers, strings, passwords, Gaussian distribution, dice rolling, and card drawing
Bscotch Utilities: Methods for common Node.js needs.
Lots of utilities for Node.js
sprintf parser and basic formatter
Various string utilities from the piton toolkit
A collection of JavaScript utilities.
String utilities and methods for nodeJS
Utilities that allow us to do simple management of Guids or uuids as strings
Standard utilities codes and types.
Type-safe utilities for working in TypeScript. For example, a type-safe property path type, deep partial type, etc.
Utilities for processing strings or stringify other type data.
Simple utilities for modern [npm](https://www.npmjs.com/) packages.
Written provides a set of utilities for manipulating text, with a focus on providing typographic tools rather than pure string manipulation.
Utilities for transforming and formatting text (i.e. strings)
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
string utilities
A library of types and utilities for your TypeScript and JavaScript projects
ANSI escape codes for styling strings in the terminal
Advanced string case utilities compatible with Angular, Vite, and TypeScript.
Strip ANSI escape codes from a string
Terminal string styling done right
Utilities for manage arrays, breadcrumb, dom elements, dates, injectors, local storage, login, objects, router animations, router, session storage, strings and translate utilities, encryption, for angular 6+ with ECMAScript 6 - ECMAScript 2015
febs is a useful utilities set
Regular expression for matching ANSI escape codes
Lightweight, dependency-free string utilities for Node.js and TypeScript.
Escape RegExp special characters
Get the visual width of a string - the number of columns required to display it
Wordwrap a string with ANSI escape codes
String encoding utilitlies extracted from TweetNaCl.js
A collection of useful string formatting utilities
Readable regex transformations, validations, and utilities with both static and chainable API.
Get the native type of a value.
The string_decoder module from Node core
Get a stream as a string, Buffer, ArrayBuffer or array
Check if the character represented by a given Unicode code point is fullwidth
Strip UTF-8 byte order mark (BOM) from a string
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Parse JSON with more helpful errors
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Modify strings, generate sourcemaps
Matches strings against configurable strings, globs, regular expressions, and/or functions
ANSI escape codes for manipulating the terminal
JavaScript utilities for arrays.
Validation utilities.
Returns true if a string has an extglob.
Strip the final newline character from a string or Uint8Array
Slice a string with ANSI escape codes
The string utilities for JavaScript/TypeScript.
capitalize the first character of a string
A modular, production-grade utility toolkit for Node.js and TypeScript, designed for robust, scalable applications (including Express-based services). All utilities are tree-shakable and can be imported independently.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
Indent each line in a string
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
kodmunki Utilities for ECMAScript UI Kernel
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Collection of string utilities. Edit-Distances, Search and Data structures. Offers for example trie, levenshtein distance.
convert a string to kebab case
Parse String to Number based on configuration
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
ES5 spec-compliant shim for String.prototype.trim
Strip leading whitespace from each line in a string
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
A robust HTML entities encoder/decoder with full Unicode support.
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
Querystringify - Small, simple but powerful query string parser.
Measure the difference between two strings using the Levenshtein distance algorithm
Utilities for working with text.
Small footprint URL parser that works seamlessly across Node.js and browser environments
Normalize a URL
Strip redundant indentation and indent the string
Truncate a string to a specific width in the terminal
Compile regular expressions' unicodeSets (v) flag.
Get the shortest leading whitespace from lines in a string
Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible
Generate a cryptographically strong random string
Generate a unique random string
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
Parse regular expressions' unicodeSets (v) flag.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
LZ-based compression algorithm
Detect the indentation of code
Repeat the given string n times. Fastest implementation for repeating a string.
Determine the East Asian Width of a Unicode character
convert a string to snake case
Trim newlines from the start and/or end of a string
Replace search occurrences with a replacement string.
Get the visual width of the widest line in a string - the number of columns required to display it
Simple string utilities (reverse, capitalize, vowels, palindrome)
Check if a string has ANSI escape codes
Functions for dealing with a PostgresSQL connection string
mdast utility to get the plain text content of a node
convert a string to camel case
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
Check if a character is alphabetical
a few common utility template tags for ES2015
Fastest Levenshtein distance implementation in JS.
Test if a value is a string.
Utilities for handling Arabic strings such as removing diacritics, tatweel, performing token based search and more.
Convert between POSIX and Windows paths.
Tokenize a string into an array of string parts and format identifier objects.
Insert supplied variable values into a format string.
Wildcard matching tools
Escape a regular expression string or pattern.
Parse and stringify URL query strings
Convert object keys to camel case
Test if a value is a regular expression string.
Compute ripemd160 of bytes or strings.
Generate string from a token array by interpolating values.
Get a property from an object using dot (object path) notation.
Check if a character is hexadecimal
Check if a character is decimal
Convert a string to lowercase.
Create a regular expression from a regular expression string.
Get the gzipped size of a string or buffer
Check if a character is alphanumerical
Create an array by repeating the given value n times.
micromark utility to decode markdown strings
CommonJS version - The smallest and fastest command-line coloring package on the internet
A collection of useful string manipulation utilities
Easy way to split a string on a given character unless it's quoted or escaped.
Math and string formula parser.
A collection of string utilities to avoid extra allocations and enable case insensitivity comparisons.
Convert a string to pascal case (upper camelcase).
Convert object keys from camel case
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
A module that parses a string as regular expression and returns the parsed value.
Formatting Date objects as strings since 2013
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Isomorphic, functional type-checking for Javascript
Hashing made simple. Get the hash of a buffer/string/stream/file.
Split a string on the first occurance of a given separator
Get the system locale
Convert a string index to its line and column position
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Simple micro templating
Convert a string to a valid safe filename
Repeat a string - fast
Remove wrapping quotes from a string.
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Functional errors with formatted output
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Convert a value to a ReadableStream
convert a string to pascal case
ES2017 spec-compliant String.prototype.padEnd shim.
Strip a substring from the start/end of a string
Terminal string styling with tagged template literals
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Returns `true` if the value is a primitive.
The smallest and fastest command-line coloring package on the internet
febs is a useful utilities set in browser
Functions that surround a string with ansicolor codes so it prints in color.
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Simple wildcard matching
Remove the trailing spaces from a string.
Check if a string is a URL
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Escape strings for use as JavaScript string literals
Various typescript helpers.
Remove leading indentation from ES6 template literals.
fast string hashing function
Stringify Object as tree structure
Iterate any iterable JS value. Works robustly in all environments, all versions.
Pluralize a word
Get the line and column number of a specific character in a string
hast utility to get the plain-text value of a node
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
String manipulation extensions for Underscore.js javascript library.
Serializes any DOM node into a String
Strip a byte order mark (BOM) from a string.
Newline character converter
Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`
The color gray, in ansi.
A simple string template function based on named or indexed arguments
Returns true if a windows file path has invalid characters.
Elegant spinner for interactive CLI apps
Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.
Native JS murmur hash implementation
hast utility to get the plain-text value of a node according to the `innerText` algorithm
Check if a character is a whitespace character
Check if a string is SVG
CodeDungeon Utilities [WIP]
Check if a character is a word character
Right pad a string with zeros or a specified string. Fastest implementation.
Find multiple RegExp matches in a string
Unicode case folding utilities based on the official Unicode Character Database
Get or set a deep value using a keypath string. Supports bracket and dot notation
Jest snapshot serializer that beautifies HTML.
Beautiful color gradients in terminal output
DOMParser.parseFromString for XML with IE8 fallback
Regular expression for matching HTML comments
Opinionated HTML formatter focused towards making HTML diffs readable.
Reduce function calls in a string, using a callback
ES2017 spec-compliant String.prototype.padStart shim.
Check if a string is an IP address
Convert Unicode characters to Latin characters using transliteration
Pure-JS printf
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Slugify a string
Remove any existing casing from a string.
Returns true if a file path does not contain any invalid characters.
Replace search occurrences with a replacement string.
The color cyan, in ansi.
ES2019 spec-compliant String.prototype.trimLeft shim.
Returns true if the value passed is all whitespace.
nlcst utility to transform a tree to a string
The color red, in ansi.
Convert a string to space case.
Extensible string utility for converting, identifying and flipping string case
Utilities to convert data into human readable strings.
ES2019 spec-compliant String.prototype.trimLeft shim.
Returns `true` if an array has a glob pattern.
remove diacritics from strings
Convert a string to lowercase.
sprintf formatting targetted for CLI
String formatting inspired by Python's str.format()
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
Math and string formula parser.
kodmunki Utilities for ECMAScript Kernel
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Common formatter utilities to handle numbers, dates, times, etc.
Serialises error object to normal object