formatter
Simple String Variable Replacement Formatter
Found 9484 results for string formatter
Simple String Variable Replacement Formatter
sprintf parser and basic formatter
Opinionated HTML formatter focused towards making HTML diffs readable.
Customizable String Formatter
A string formatter and validator based on masks
Custom formatter that converts any string into Title Case
Angular Number Formatter - formats the number into human readable format when in Thousands, Millions and Billions.
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).
awesome string formatter
Custom string formatter that converts any string into [Title Case](http://www.grammar-monster.com/lessons/capital_letters_title_case.htm)
Number formatter for imperial measurements with support for vulgar fractions
Snake and camel case formatter
A barebones yet feature-rich string formatter.
A string formatter and validator based on masks
fast formatter for dates
sprintf formatting targetted for CLI
Tiny template string formatter with defaults and pipes.
format an error into string / json for log
Turkey Tel Number Formatter
String formatter like python in Nodejs
Tiny TypeScript utilities: strings & date formatter
Jest snapshot serializer that beautifies HTML.
Universal string formatter with pattern support (like 'XX XX XX')
ANSI escape codes for styling strings in the terminal
Regular expression for matching ANSI escape codes
Strip ANSI escape codes from a string
Get the visual width of a string - the number of columns required to display it
Terminal string styling done right
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).
Escape RegExp special characters
Wordwrap a string with ANSI escape codes
The string_decoder module from Node core
Get the native type of a value.
Check if the character represented by a given Unicode code point is fullwidth
Get a stream as a string, Buffer, ArrayBuffer or array
Strip UTF-8 byte order mark (BOM) from a string
Common formatter utilities to handle numbers, dates, times, etc.
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.
A string formatter and validator based on masks
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
ANSI escape codes for manipulating the terminal
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Matches strings against configurable strings, globs, regular expressions, and/or functions
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
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.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Indent each line in a string
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
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.
Parse String to Number based on configuration
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
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).
Strip leading whitespace from each line in a string
ES5 spec-compliant shim for String.prototype.trim
A robust HTML entities encoder/decoder with full Unicode support.
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Truncate a string to a specific width in the terminal
Querystringify - Small, simple but powerful query string parser.
A javascript module that scans through string to remove non-numerals and formats out any found numbers based on configuration passed to it.
Normalize a URL
Small footprint URL parser that works seamlessly across Node.js and browser environments
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
Strip redundant indentation and indent the string
Compile regular expressions' unicodeSets (v) flag.
Generate a cryptographically strong random string
Get the visual width of the widest line in a string - the number of columns required to display it
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
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.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Parse regular expressions' unicodeSets (v) flag.
Fastest Levenshtein distance implementation in JS.
Detect the indentation of code
LZ-based compression algorithm
Repeat the given string n times. Fastest implementation for repeating a string.
Determine the East Asian Width of a Unicode character
Check if a character is decimal
Check if a string has ANSI escape codes
Trim newlines from the start and/or end of a string
Functions for dealing with a PostgresSQL connection string
mdast utility to get the plain text content of a node
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
a few common utility template tags for ES2015
Wildcard matching tools
CommonJS version - The smallest and fastest command-line coloring package on the internet
Compute ripemd160 of bytes or strings.
Insert supplied variable values into a format string.
Convert object keys to camel case
Math and string formula parser.
Check if a character is alphabetical
Parse and stringify URL query strings
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Check if a character is hexadecimal
Get the gzipped size of a string or buffer
Check if a character is alphanumerical
micromark utility to decode markdown strings
Create an array by repeating the given value n times.
Easy way to split a string on a given character unless it's quoted or escaped.
Convert object keys from camel case
Convert a string to pascal case (upper camelcase).
Split a string on the first occurance of a given separator
A module that parses a string as regular expression and returns the parsed value.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Formatting Date objects as strings since 2013
Isomorphic, functional type-checking for Javascript
Hashing made simple. Get the hash of a buffer/string/stream/file.
A collection of useful string formatting utilities
Get the system locale
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Convert a string index to its line and column position
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Various helper utilities
Useful utilities for working with Uint8Array (and Buffer)
Convert a string to a valid safe filename
Simple micro templating
Remove wrapping quotes from a string.
Functional errors with formatted output
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Repeat a string - fast
Convert a value to a ReadableStream
Functions that surround a string with ansicolor codes so it prints in color.
ES2017 spec-compliant String.prototype.padEnd shim.
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.
Strip a substring from the start/end of a string
The smallest and fastest command-line coloring package on the internet
Remove the trailing spaces from a string.
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Simple wildcard matching
Stringify Object as tree structure
Check if a string is a URL
Escape strings for use as JavaScript string literals
Remove leading indentation from ES6 template literals.
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Get the line and column number of a specific character in a string
fast string hashing function
Serializes any DOM node into a String
hast utility to get the plain-text value of a node
Iterate any iterable JS value. Works robustly in all environments, all versions.
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`
Pluralize a word
Strip a byte order mark (BOM) from a string.
String manipulation extensions for Underscore.js javascript library.
The color gray, in ansi.
Returns true if a windows file path has invalid characters.
Newline character converter
A simple string template function based on named or indexed arguments
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.
Elegant spinner for interactive CLI apps
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 character is a word character
DOMParser.parseFromString for XML with IE8 fallback
Check if a string is SVG
Find multiple RegExp matches in a string
Beautiful color gradients in terminal output
Right pad a string with zeros or a specified string. Fastest implementation.
Returns true if a file path does not contain any invalid characters.
Regular expression for matching HTML comments
Reduce function calls in a string, using a callback
Check if a string is an IP address
Various helper utilities for working with buffers and binary data
Convert Unicode characters to Latin characters using transliteration
Slugify a string
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Pure-JS printf
ES2017 spec-compliant String.prototype.padStart shim.
remove diacritics from strings
Remove any existing casing from a string.
nlcst utility to transform a tree to a string
Convert a string to space case.
The color cyan, in ansi.
Math and string formula parser.
The color red, in ansi.
Returns `true` if an array has a glob pattern.
Returns true if the value passed is all whitespace.
ES2019 spec-compliant String.prototype.trimLeft shim.
Extensible string utility for converting, identifying and flipping string case
ES2019 spec-compliant String.prototype.trimLeft shim.
String encoding utilitlies extracted from TweetNaCl.js
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
String formatting inspired by Python's str.format()
Check if a string only contains alphanumeric characters
Lightweight format utility for the browser, based on util.format().
Convert efficiently index to/from line-column in a string
[](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.
Write data to a random temporary file
Convert a string to camel case.
Similar to String#trim() but removes only newlines
strings comparison matchers for chai
Check if a string is HTML
Zero-dependency unicode-aware string tools
Convert between POSIX and Windows paths.
Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)
Replace search occurrences with a replacement string.
Create a regular expression from a regular expression string.
Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.
Pad strings to a given length
Convert HTML/XML source code or DOM nodes to React elements
Tagged template literal for Sanity.io GROQ-queries
parses number and unit, '20px' into [20, 'px']
Regular expression for matching URLs
The fast way to check if a string is blank
Consume a stream of data into a binary Buffer as efficiently as possible
Iterator over lines in a string
Escape a regular expression string or pattern.
Test if a value is a string.
Test if a value is a regular expression string.
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Tokenize a string into an array of string parts and format identifier objects.
Generate string from a token array by interpolating values.
Parse parentheses from a string
Object & string diff rendering for all displays
Convert a camelized/dasherized/underscored string into a humanized one: `fooBar-Baz_Faz` → `Foo bar baz faz`
Get a property from an object using dot (object path) notation.
Get the length of unicode strings
A robust & character encoding–agnostic JavaScript implementation of the `Quoted-Printable` content transfer encoding as defined by RFC 2045.
Escape a string for use in AppleScript
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
slugifies even utf-8 chars!
Convert a string to lowercase.
alters a string by replacing multiple range fragments in one fast pass
Allocate a buffer containing a provided string.
Ethiopian Telephone Number Formatter
Split string by any separator excluding brackets, quotes and escaped characters
Return a regular expression to parse a regular expression string.
Contains some util methods for converting numbers into words, ordinal words and ordinal numbers.
Left and right string padding
Simple implmentation of Stream.Readable and Stream.Writable holding the data in memory.
Converts a Buffer/String into a readable stream
parse a css color string
Convert a string into a stream (streams2)
Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
A collection of personal utilities to live a happier life
Strip ANSI color codes from a string. No dependencies.
small function to append a query string to a URL