Str modules

Showing projects tagged as Str

  • chalk

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

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

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

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

    5.0 4.8 L3 JavaScript
    Normalize a URL
  • escape-string-regexp

    4.4 0.0 JavaScript
    Escape RegExp special characters
  • string-width

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

    3.4 7.8 L5 JavaScript
    Get a stream as a string, Buffer, ArrayBuffer or array
  • parse-json

    3.4 6.3 L3 JavaScript
    Parse JSON with more helpful errors
  • neat-csv

    3.1 1.6 JavaScript
    Fast CSV parser
  • os-locale

    3.0 0.0 L5 JavaScript
    Get the system locale
  • humanize-url

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

    2.7 3.8 L5 JavaScript
    Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
  • string-length

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

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

    2.2 1.8 JavaScript
    Indent each line in a string
  • execall

    1.8 0.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.4 0.0 JavaScript
    Repeat a string - fast
  • splice-string

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

    1.0 2.9 JavaScript
    Pad each line in a stream