Showing 1-20 of 385,918 packages
Parses a Dockerfile and returns an array of commands.
A native Node.js module that can capture JavaScript stack traces from main and worker threads, even with blocked event loops.
Get the current line number
Resolves the full path to the bin file of a given package by inspecting the "bin" field in its package.json.
Get the visual width of a string - the number of columns required to display it
Escape RegExp special characters
Indent each line in a string
Wordwrap a string with ANSI escape codes
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Modify strings, generate sourcemaps
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Slice a string with ANSI escape codes
Matches strings against configurable strings, globs, regular expressions, and/or functions
Strip leading whitespace from each line in a string
Repeat the given string n times. Fastest implementation for repeating a string.
Strip redundant indentation and indent the string
Port of C's wcwidth() and wcswidth()
LZ-based compression algorithm
Returns true if a string has an extglob.
Generate a unique random string