Str modules

Showing projects tagged as Str

  • chalk

    9.2 5.0 L4 JavaScript
    ๐Ÿ– Terminal string styling done right
  • multiline

    5.8 0.0 L5 JavaScript
    Multiline strings in JavaScript.
  • pretty-ms

    4.7 1.5 L5 JavaScript
    Convert milliseconds to a human readable string: `1337000000` โ†’ `15d 11h 23m 20s`
  • normalize-url

    4.7 4.0 L3 JavaScript
    Normalize a URL
  • escape-string-regexp

    4.2 2.2 JavaScript
    Escape RegExp special characters
  • get-stream

    3.2 2.9 L5 JavaScript
    Get a stream as a string, buffer, or array
  • parse-json

    3.1 3.0 L3 JavaScript
    Parse JSON with more helpful errors
  • string-width

    3.0 3.6 JavaScript
    Get the visual width of a string - the number of columns required to display it
  • os-locale

    3.0 2.5 L5 JavaScript
    Get the system locale
  • neat-csv

    2.9 2.2 JavaScript
    Fast CSV parser
  • humanize-url

    2.7 0.7 JavaScript
    Humanize a URL: https://sindresorhus.com โ†’ sindresorhus.com
  • into-stream

    2.5 3.6 L5 JavaScript
    Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
  • strip-indent

    2.3 0.7 JavaScript
    Strip leading whitespace from each line in a string
  • string-length

    2.1 2.3 JavaScript
    Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
  • indent-string

    2.0 2.2 JavaScript
    Indent each line in a string
  • execall

    1.8 2.2 JavaScript
    Find multiple RegExp matches in a string
  • parse-columns

    1.7 0.7 L4 JavaScript
    Parse text columns, like the output of unix commands
  • repeating

    1.3 0.7 JavaScript
    Repeat a string - fast
  • splice-string

    1.0 2.2 JavaScript
    Remove or replace part of a string like Array#splice
  • pad-stream

    0.7 2.2 JavaScript
    Pad each line in a stream