Str modules

Showing projects tagged as Str

  • chalk

    9.2 5.2 L4 JavaScript
    ๐Ÿ– Terminal string styling done right
  • Flexsearch

    8.2 7.7 JavaScript
    Next-Generation full text search library for Browser and Node.js
  • multiline

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

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

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

    4.2 1.5 JavaScript
    Escape RegExp special characters
  • string-width

    3.3 3.5 JavaScript
    Get the visual width of a string - the number of columns required to display it
  • get-stream

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

    3.2 2.9 L3 JavaScript
    Parse JSON with more helpful errors
  • os-locale

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

    2.9 2.7 JavaScript
    Fast CSV parser
  • humanize-url

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

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

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

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

    2.1 2.4 JavaScript
    Indent each line in a string
  • execall

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

    1.8 2.9 L4 JavaScript
    Parse text columns, like the output of unix commands
  • repeating

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

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

    0.8 1.3 JavaScript
    Pad each line in a stream