ustring
String utility functions
Found 9479 results for string functions
String utility functions
Miscellaneous utility functions
A tiny language to write mapping functions as strings
This module provides utility functions for strings
A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.
String interpolation functions
Small library that provides functions to tokenize a string into an array of words with or without punctuation
Some common prototypes for node.js: string.startsWith(), object.countProperties() and more. Facilities for functional programming with objects: object.forEach(), object.filter(). Functions are added safely using Object.defineProperty().
Make your javascript functions faster and use benefits of practical-functions package
Various helper utilities
String capitalization functions with special cases for certain ShipEngine words and phrases
Utils functions and classes for Node.js
Sass functions to manage string.
library of recurring, unconnected functions
Helper functions distributed by Logitar.
Native type conversion functions
Functions to format number to string
Utility functions
Utility functions for dealing with UUIDs
Functions for manipulating strings.
A dependency-free collection of useful functions for applications in TypeScript. (Actually, you need some peer libraries if you use some of the functions). Written in Typescript.
A collection of more than 60 often used utility JS functions that simplify frontend development.
A collection of utility functions for transforming string cases in various formats.
a collection of functions for working with Uint8Array representations of strings
a few common utility template tags for ES2015
Matches strings against configurable strings, globs, regular expressions, and/or functions
create xml with functions and strings
Basic string helper functions
String manipulation extensions for Underscore.js javascript library.
useful functions for manipulating string
Lightweight utility functions for every day JavaScript tasks
str.scss - set of functions that helps to manipulate strings.
A library for array functions in Array.prototype
Some string functions in programming
A simple interface to pair a sting with built-in search functions
A collection of common string functions {web}.
A comprehensive collection of TypeScript/JavaScript utility functions for common programming tasks. Includes validation, object manipulation, date handling, string formatting, and more. Zero dependencies, fully typed, and optimized for performance.
Utility functions for analyzing strings by Unicode block
A package that add functions for random.
String encoding utilitlies extracted from TweetNaCl.js
ANSI escape codes for styling strings in the terminal
Provide some useful functions for strings
Strip ANSI escape codes from a string
Terminal string styling done right
Here are some handy tagged template functions to make your ES6 template literals work better!
Regular expression for matching ANSI escape codes
A collection of helpful utility functions for common JavaScript development and browser DOM manipulation tasks
Get the visual width of a string - the number of columns required to display it
The ultimate JavaScript string library
Escape RegExp special characters
A collection of functions for frontend development
This project is ment to be used with Microsoft Azure Functions. This simple wrapper makes it easier to work with Azure Functions since common HTTP methods are wrapped to individual function calls within a specfic Azure Function. And in addition a function
Wordwrap a string with ANSI escape codes
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
Easily apply other module's string transform functions to stdio and text files.
Get the native type of a value.
Check if the character represented by a given Unicode code point is fullwidth
The string_decoder module from Node core
Strip UTF-8 byte order mark (BOM) from a string
Parse JSON with more helpful errors
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Get a stream as a string, Buffer, ArrayBuffer or array
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Extensible string utility for converting, identifying and flipping string case
Modify strings, generate sourcemaps
ANSI escape codes for manipulating the terminal
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
Returns true if a string has an extglob.
String utility functions
Strip the final newline character from a string or Uint8Array
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
Slice a string with ANSI escape codes
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
A collection of common string functions.
Indent each line in a string
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Fuzzy string matching algorithms and utilities, port of the TheFuzz Python library.
Measure the difference between two strings using the Levenshtein distance algorithm
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
ES5 spec-compliant shim for String.prototype.trim
Parse String to Number based on configuration
Standalone version of lodash string trim functions
A robust HTML entities encoder/decoder with full Unicode support.
String Comparison Functions
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
A Node.js module offering various string manipulation functions for capitalization, initial capitalization of words, and specific casing of text.
Querystringify - Small, simple but powerful query string parser.
A collection of utility functions to manipulate string in javascript and typescript
Utility Functions for all Development Purpose
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).
Truncate a string to a specific width in the terminal
Strip leading whitespace from each line in a string
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Normalize a URL
Compile regular expressions' unicodeSets (v) flag.
Strip redundant indentation and indent the string
Generate a unique random string
Small footprint URL parser that works seamlessly across Node.js and browser environments
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
Generate a cryptographically strong random string
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
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
Detect the indentation of code
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
Repeat the given string n times. Fastest implementation for repeating a string.
Trim newlines from the start and/or end of a string
Get the visual width of the widest line in a string - the number of columns required to display it
Determine the East Asian Width of a Unicode character
Check if a string has ANSI escape codes
Fastest Levenshtein distance implementation in JS.
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
mdast utility to get the plain text content of a node
Wildcard matching tools
Parse regular expressions' unicodeSets (v) flag.
LZ-based compression algorithm
Convert object keys to camel case
Check if a character is decimal
Parse and stringify URL query strings
Check if a character is hexadecimal
Compute ripemd160 of bytes or strings.
Package of optimised react components and javascript functions for developers ♫♪
Get the gzipped size of a string or buffer
Check if a character is alphanumerical
CommonJS version - The smallest and fastest command-line coloring package on the internet
Math and string formula parser.
Easy way to split a string on a given character unless it's quoted or escaped.
Helper functions for handling Regular Expressions and parsing user input as Regular Expressions
Check if a character is alphabetical
Convert a string to pascal case (upper camelcase).
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Convert object keys from camel case
micromark utility to decode markdown strings
Create an array by repeating the given value n times.
Formatting Date objects as strings since 2013
A module that parses a string as regular expression and returns the parsed value.
Get the system locale
Split a string on the first occurance of a given separator
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Zero-dependency minimal package (two functions) to provide better-readable (albeit more verbose) wrapper over JS default `Array.sort()`. Fully typed.
Hashing made simple. Get the hash of a buffer/string/stream/file.
provides functions for comparing and calculating the similarity between two strings using various methods.
Zero-dependency minimal package (two functions) to provide better-readable (albeit more verbose) wrapper over JS default `Array.sort()`. Fully typed.
Isomorphic, functional type-checking for Javascript
Convert a string index to its line and column position
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
A Node.js library offering functions to check variable types, including arrays, objects, strings, numbers, booleans, and undefined values.
Simple micro templating
Convert a string to a valid safe filename
Remove wrapping quotes from a string.
Compare alphanumeric strings the same way a human would, using a natural order algorithm
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Repeat a string - fast
Useful utilities for working with Uint8Array (and Buffer)
Functional errors with formatted output
Convert a value to a ReadableStream
ES2017 spec-compliant String.prototype.padEnd shim.
Returns `true` if the value is a primitive.
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
The smallest and fastest command-line coloring package on the internet
Terminal string styling with tagged template literals
Functions for working with query strings.
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Remove the trailing spaces from a string.
Strip a substring from the start/end of a string
Simple wildcard matching
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
A utility library with math and string functions supporting both ESM and CommonJS
Stringify Object as tree structure
hast utility to get the plain-text value of a node
The color gray, in ansi.
Escape strings for use as JavaScript string literals
Check if a string is a URL
Japanese Character Optimizer.
Iterate any iterable JS value. Works robustly in all environments, all versions.
Serializes any DOM node into a String
Pluralize a word
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
Returns true if a windows file path has invalid characters.
Remove leading indentation from ES6 template literals.
Strip a byte order mark (BOM) from a string.
A simple string template function based on named or indexed arguments
fast string hashing function
Newline character converter
Get the line and column number of a specific character in a string
Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`
string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.
A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).
Check if a character is a whitespace character
A comprehensive TypeScript utility library providing helper functions for arrays, objects, strings, and more
Native JS murmur hash implementation
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.
Check if a string is SVG
Elegant spinner for interactive CLI apps
Stringifies function's parameters definition
Check if a character is a word character
Regular expression for matching HTML comments
hast utility to get the plain-text value of a node according to the `innerText` algorithm
A hub of numerous functions.
Reduce function calls in a string, using a callback
Find multiple RegExp matches in a string
A TypeScript utility library with functions for string manipulation and mathematical operations
A comprehensive TypeScript utility library with 250+ functions across 7 categories
Beautiful color gradients in terminal output
Opinionated HTML formatter focused towards making HTML diffs readable.
DOMParser.parseFromString for XML with IE8 fallback
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Pure-JS printf
Jest snapshot serializer that beautifies HTML.
Returns true if a file path does not contain any invalid characters.
Remove any existing casing from a string.
Right pad a string with zeros or a specified string. Fastest implementation.
sprintf parser and basic formatter
ES2019 spec-compliant String.prototype.trimLeft shim.
Convert Unicode characters to Latin characters using transliteration
functions for validation
Slugify a string
The color cyan, in ansi.
A module that formats a string based on a pattern
asr2js and js2asr converter android string resource utils
ES2017 spec-compliant String.prototype.padStart shim.
Check if a string is an IP address
ES2019 spec-compliant String.prototype.trimLeft shim.
The color red, in ansi.
remove diacritics from strings
Collection of utility functions and helpers, designed to speed up development across SalesPark projects. Includes common helpers, reusable patterns, and extended functions.
Utility functions to convert strings to camelCase, snake_case, and kebab-case.
Returns true if the value passed is all whitespace.
Returns `true` if an array has a glob pattern.
Convert a string to space case.
nlcst utility to transform a tree to a string
Various helper utilities for working with buffers and binary data
sprintf formatting targetted for CLI
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
Math and string formula parser.
String formatting inspired by Python's str.format()
🦅 cli syntax highlighting: any function - any object - 176 languages
Check if a string only contains alphanumeric characters
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Serialises error object to normal object
A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.
Convert efficiently index to/from line-column in a string
Similar to String#trim() but removes only newlines
Lightweight format utility for the browser, based on util.format().
Write data to a random temporary file
Convert a string to camel case.
Unicode character information library.
Zero-dependency unicode-aware string tools