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