Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@hsds/utils-strings

Package Overview
Dependencies
Maintainers
7
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hsds/utils-strings

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

latest
npmnpm
Version
9.0.2
Version published
Weekly downloads
55
19.57%
Maintainers
7
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 23 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts