Showing 1-20 of 390,474 packages
string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.
Indent each line in a string
Require module from string
Repeat the given string n times. Fastest implementation for repeating a string.
Generate a unique random string
String convertions
fast string hashing function
Generate a cryptographically strong random string
Get the visual width of a string - the number of columns required to display it
Functions for dealing with a PostgresSQL connection string
Use Environment Variables in String
Normalize wrapping quotes for CSS string literals.
Internationalized string formatting and locale negotiation
Strongly-typed string functions.
Simple string test
string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.
Terminal string styling done right
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
String formatting inspired by Python's str.format()
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.