Str modules

Showing projects tagged as Str

  • chalk

    9.2 7.1 L4 JavaScript
    🖍 Terminal string styling done right
  • Flexsearch

    8.4 7.0 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.9 4.2 L5 JavaScript
    Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
  • normalize-url

    4.9 2.7 L3 JavaScript
    Normalize a URL
  • escape-string-regexp

    4.3 0.0 JavaScript
    Escape RegExp special characters
  • string-width

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

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

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

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

    2.9 1.3 JavaScript
    Fast CSV parser
  • humanize-url

    2.7 2.4 JavaScript
    Humanize a URL: https://sindresorhus.com → sindresorhus.com
  • into-stream

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

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

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

    2.1 2.0 JavaScript
    Indent each line in a string
  • execall

    1.7 2.0 JavaScript
    Find multiple RegExp matches in a string
  • parse-columns

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

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

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

    0.9 0.0 JavaScript
    Pad each line in a stream