splice-string

String slicer

A utility function to remove or replace parts of a string

Remove or replace part of a string like Array#splice

GitHub

23 stars
7 watching
8 forks
Language: JavaScript
last commit: over 3 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/strip-indent Removes redundant indentation from a string by finding the minimum leading whitespace across all lines. 135
sindresorhus/cli-truncate Library to truncate strings to fit terminal widths 85
sindresorhus/indent-string A utility function to insert consistent indentation into a string 112
sindresorhus/matcher A utility for simple string matching with wildcard patterns 537
sindresorhus/indent-string-cli A command-line tool for indenting lines of text 5
sindresorhus/filled-array Creates an array of specified length filled with a given value or function returning values 43
sindresorhus/hook-std A library to capture and modify output from the standard streams in Node.js applications. 54
sindresorhus/get-stream A utility library for working with streams in JavaScript 341
sindresorhus/hash-object A library that generates a unique digital fingerprint of an object 134
sindresorhus/parse-columns-cli Transforms text columns from Unix commands into JSON data for manipulation 66
sindresorhus/math-clamp A utility function to limit a value within a specified range 14
sindresorhus/string-length Corrects string length counting by ignoring astral symbols and ANSI escape codes. 162
sindresorhus/first-chunk-stream Transforms the first chunk of a stream into a specified format and sends it to the stream 27
sindresorhus/pad-stream Transforms input streams by padding each line with a specified indent 11
sindresorhus/delay Allows delaying promises by a specified amount of time or a random range. 609