@hsds/utils-strings

9.0.2 • Public • Published

utils-strings

This library is part of Help Scout's @hsds.

Includes:

  • normalizeUrl
  • newlineToHTML
  • escapeHtmlRegExp
  • escapeHTML
  • alphaNumericAndMarksChars
  • tldPattern
  • domainPattern
  • pathPattern
  • urlPattern
  • emailPattern
  • convertLinksToHTML
  • camelCase
  • STRING_DASHERIZE_REGEXP
  • STRING_DECAMELIZE_REGEXP
  • decamelize
  • dasherize

Running unit tests

Run nx test utils-strings to execute the unit tests via Jest.

/@hsds/utils-strings/

    Package Sidebar

    Install

    npm i @hsds/utils-strings

    Weekly Downloads

    4

    Version

    9.0.2

    License

    none

    Unpacked Size

    20.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • kdipaolo
    • luketlancaster
    • charca
    • justin-helpscout
    • jjanczyk
    • tinkertrain
    • helpscout