Convert strings to match a pattern
Get the visual width of a string - the number of columns required to display it
Escape RegExp special characters
A utility package to parse strings
Creates Photoshop pattern files (.pat)
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
Indent each line in a string
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Modify strings, generate sourcemaps
Repeat the given string n times. Fastest implementation for repeating a string.
A minimal UTF8 implementation for number arrays.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
LZ-based compression algorithm
Wordwrap a string with ANSI escape codes
Strip leading whitespace from each line in a string
Native Access to MacOS FSEvents
Matches strings against configurable strings, globs, regular expressions, and/or functions
A minimal base64 implementation for number arrays.
CLI arguments parser. Native port of python's argparse.
mdast utility to get the plain text content of a node
A minimal path module to resolve Unix, Windows and URL paths alike.
Require module from string
Generate a unique character string suitible for use in files and URLs.
Slice a string with ANSI escape codes
Makes it easier to work with common string patterns and regular expressions in Rust, adding convenient regex match and replace methods (pattern_match and pattern_replace) to the standard String type as well to vectors of strings
Makes it easier to match, split and extract strings in Rust without regular expressions. The parallel string-patterns crate provides extensions to work with regular expressions via the Regex library
This crate provides developer-friendly methods to manipulate strings with character indices.
Parsey matches a string with a pattern to retrieve data from it.
tests strings of Ruby code for unauthorized patterns (exit, eval, ...)
Mustermann is your personal string matching expert. As an expert in the field of strings and patterns, Mustermann keeps its runtime dependencies to a minimum and is fully covered with specs and documentation. Given a string pattern, Mustermann will turn it into an object that behaves like a regular expression and has comparable performance characteristics.
Gem to help manage, test and run common string patterns.
create a string pattern with &(represents AND) and |(represents OR), check whether it can be satisfied with given strings
Generates random string from a given pattern: '(Hello|Hi), World!' -> 'Hi, World!'
Timing safe string compare with double HMAC pattern
Use wildcard placeholders to find string matches as well as using ! as a negative matcher
Takes two strings as an input and returns similarity index out of a range of 0 to 100
Excise is a Ruby port of extract-values
A lightweight ruby library for detecting, scanning, and classifying patterns in strings.
Easily generate strings supplying a very simple pattern. '10-20:Xn/x/'.generate #>qBstvc6JN8ra. Generate random strings using a regular expression (Regexp): /[a-z0-9]{2,5}w+/.gen . Also generate words in English or Spanish. Perfect to be used in test data factories. Also, validate if a text fulfills a specific pattern or even generate a string following a pattern and returning the wrong length, value... for testing your applications.