date-format
Formatting Date objects as strings since 2013
Found 9481 results for string formatting
Formatting Date objects as strings since 2013
sprintf formatting targetted for CLI
maximally minimal string formatting library
String formatting inspired by Python's str.format()
Various string formatting & utility functions
Hex string formatters for 4/8/16/24/32/48/64bit words, hexdump formatting of binary data
Parse, clean, remove formatting (unformat) numbers in strings.
String formatting library for node.js
String formatting for Node.js and AngularJS.
ANSI colors for stringd formatting
POSIX sprintf(3)-style String Formatting for JavaScript
Simple link and newline text formatting for react
Util.format-like string formatting utility.
Lightweight module for formatting numbers to a human readable string
String formatting like Python's .format()
A lightweight, modular and stand-alone JavaScript implementation of a string formatting function that supports composite format strings, globalization and customization
Python flavored string formatting
String difference with colour for Node.js and ANSI formatting. [PUBLIC]
Data Olympics - reversing strings and formatting dollars into strings like a champ.
tiniest string formatting library
Helps with complex printf-style formatting
A Typescript formatting library inspired by c# string.format("My {0} string", "Hello World")
Dead simple string formatting
Utilities for transforming and formatting text (i.e. strings)
Python string formatting mini-language, transcoded from Jython.
Functional-ish JavaScript string formatting, with inspirations from Python.
Modify strings, generate sourcemaps
Esoteric string formatting
Simple Python-style string formatting for JS
Apply flexible numeric masks to any string. Perfect for phone numbers, documents, and custom input formatting.
A collection of useful string formatting utilities
ANSI escape codes for styling strings in the terminal
Strip ANSI escape codes from a string
Terminal string styling done right
Regular expression for matching ANSI escape codes
Java's String.format() compatible string formatting library for JavaScript.
Wordwrap a string with ANSI escape codes
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.
ANSI escape codes for manipulating the terminal
Slice a string with 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).
String Formatting for JavaScript
Opinionated HTML formatter focused towards making HTML diffs readable.
A collection of personal utilities to live a happier life
CommonJS version - The smallest and fastest command-line coloring package on the internet
Easy string formatting script
Simple micro templating
The smallest and fastest command-line coloring package on the internet
Terminal string styling with tagged template literals
Get the visual width of a string - the number of columns required to display it
Escape RegExp special characters
Get the native type of a value.
The color gray, in ansi.
Check if the character represented by a given Unicode code point is fullwidth
The string_decoder module from Node core
Newline character converter
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.
Get a stream as a string, Buffer, ArrayBuffer or array
Beautiful color gradients in terminal output
Returns true if a string has an extglob.
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
Strip the final newline character from a string or Uint8Array
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.
A lightweight and powerful utility library for advanced string manipulation, case conversion, and formatting.
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.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Matches strings against configurable strings, globs, regular expressions, and/or functions
The color red, in ansi.
Indent each line in a string
The color cyan, in ansi.
`JsSimpleDateFormat` is for formatting and parsing date-time and duration. It formats a `Date` object to be a string as the defined pattern. It can also parse a string to be a `Date` object based on the defined pattern. It supports the pattern which is
Parse String to Number based on configuration
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
ES5 spec-compliant shim for String.prototype.trim
Measure the difference between two strings using the Levenshtein distance algorithm
A robust HTML entities encoder/decoder with full Unicode support.
Querystringify - Small, simple but powerful query string parser.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Normalize a URL
Strip leading whitespace from each line in a string
Truncate a string to a specific width in the terminal
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Compile regular expressions' unicodeSets (v) flag.
Strip redundant indentation and indent the string
Small footprint URL parser that works seamlessly across Node.js and browser environments
Generate a cryptographically strong random string
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 unique random string
Strips ANSI Control Characters from string or stream
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
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 any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
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
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
Check if a string has ANSI escape codes
mdast utility to get the plain text content of a node
Functions for dealing with a PostgresSQL connection string
a few common utility template tags for ES2015
Fastest Levenshtein distance implementation in JS.
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
Parse regular expressions' unicodeSets (v) flag.
Wildcard matching tools
Convert object keys to camel case
LZ-based compression algorithm
Tokenize a string into an array of string parts and format identifier objects.
Parse and stringify URL query strings
Generate string from a token array by interpolating values.
Check if a character is decimal
Compute ripemd160 of bytes or strings.
Get the gzipped size of a string or buffer
Check if a character is hexadecimal
Check if a character is alphanumerical
Easy way to split a string on a given character unless it's quoted or escaped.
Math and string formula parser.
Check if a character is alphabetical
Library of miscellaneous formatting and helper functions
micromark utility to decode markdown strings
Strip ANSI color codes from a string. No dependencies.
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
A module that parses a string as regular expression and returns the parsed value.
Create an array by repeating the given value n times.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
The color green, in ansi.
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
The color grey, in ansi.
The color dim, in ansi.
Get the system locale
The color yellow, in ansi.
Cross-platform success symbol.
The color bgmagenta, in ansi.
Cross-platform error symbol.
Convert a string index to its line and column position
The color bgred, in ansi.
The color bgwhite, in ansi.
The color inverse, in ansi.
Cross-platform warning symbol.
Convert a string to a valid safe filename
Compare alphanumeric strings the same way a human would, using a natural order algorithm
The color bold, in ansi.
The color blue, in ansi.
The color bgcyan, in ansi.
The color bgblue, in ansi.
The color italic, in ansi.
The color bgyellow, in ansi.
The color underline, in ansi.
The color bggreen, in ansi.
The color hidden, in ansi.
Remove wrapping quotes from a string.
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Formattable string with the same API as an intrinsic string
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
The color magenta, in ansi.
The color reset, in ansi.
The color black, in ansi.
The color white, in ansi.
The color strikethrough, in ansi.
The color bgblack, in ansi.
Cross-platform info symbol.
Functional errors with formatted output
Various helper utilities
Useful utilities for working with Uint8Array (and Buffer)
Convert a value to a ReadableStream
Multi-colour console output from chalk with added awesome
ES2017 spec-compliant String.prototype.padEnd shim.
Repeat a string - fast
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Returns `true` if the value is a primitive.
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Functions that surround a string with ansicolor codes so it prints in color.
Customizable String Formatter
Simple wildcard matching
Remove the trailing spaces from a string.
Strip a substring from the start/end of a string
generic javascript number/string formatting (bytes, milliseconds, ...)
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Check if a string is a URL
Stringify Object as tree structure
Escape strings for use as JavaScript string literals
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.
Remove leading indentation from ES6 template literals.
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
Pluralize a word
Get the line and column number of a specific character in a string
Terminal string styling done right
A string formatter and validator based on masks
Strip a byte order mark (BOM) from a string.
Returns true if a windows file path has invalid characters.
A javascript library for formatting and manipulating text (strings).
A TypeScript port of the Java StringTemplate 4 library
Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`
A simple string template function based on named or indexed arguments
fast string hashing function
Native JS murmur hash implementation
Check if a character is a whitespace character
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.
String manipulation extensions for Underscore.js javascript library.
hast utility to get the plain-text value of a node according to the `innerText` algorithm
Check if a character is a word character
Regular expression for matching HTML comments
Check if a string is SVG
Elegant spinner for interactive CLI apps
Find multiple RegExp matches in a string
Reduce function calls in a string, using a callback
DOMParser.parseFromString for XML with IE8 fallback
Jest snapshot serializer that beautifies HTML.
Pure-JS printf
Convert Unicode characters to Latin characters using transliteration
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Slugify a string
Remove any existing casing from a string.
Right pad a string with zeros or a specified string. Fastest implementation.
Returns true if a file path does not contain any invalid characters.
Various helper utilities for working with buffers and binary data
sprintf parser and basic formatter
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
ES2017 spec-compliant String.prototype.padStart shim.
remove diacritics from strings
Returns true if the value passed is all whitespace.
Convert a string to space case.
nlcst utility to transform a tree to a string
Returns `true` if an array has a glob pattern.
String encoding utilitlies extracted from TweetNaCl.js
ES2019 spec-compliant String.prototype.trimLeft shim.
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
Math and string formula parser.
Serialises error object to normal object
A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.
Lightweight format utility for the browser, based on util.format().
Check if a string only contains alphanumeric characters
A lightweight package for formatting strings with parameter interpolation
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Convert efficiently index to/from line-column in a string