Search results
6000 packages found
A robust & optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.
Regular expression for matching ANSI escape codes
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Indent each line in a string
An ES-spec-compliant (proposed) String.prototype.at shim/polyfill/replacement that works as far down as ES3
- String.prototype.at
- String.prototype.item
- Array.prototype.at
- Array.prototype.item
- at
- item
- string
- shim
- polyfill
- es-shim
- API
Small footprint URL parser that works seamlessly across Node.js and browser environments
Get the native type of a value.
A tiny language to write mapping functions as strings
Compile regular expressions' unicodeSets (v) flag.
A robust HTML entities encoder/decoder with full Unicode support.
Extract domain name from URL
String manipulation functions.
Perform multiple str.replace() with one operation
Strip leading whitespace from each line in a string
Create lean text diff deltas.
Apply lean text diff delta patches created by textdiff-create.
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 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).
Realistic typing simulations in TypeScript