🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@hashicorp/js-utils

Package Overview
Dependencies
Maintainers
20
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/js-utils

JavaScript utilities for HashiCorp components and packages

1.0.10
latest
npm
Version published
Weekly downloads
6.6K
136.54%
Maintainers
20
Weekly downloads
 
Created
Source

js-utils

A collection of js utility functions that can be shared amongst components.

capitalize(string)

Captitalize the first letter of a string.

  • string (string) - The string to be capitalized

eliminateOrphans(string, count)

Eliminate orphans from the end of a string by replacing spaces with  .

  • string (string) - The string to be de-orphaned
  • count (string) [optional] - Total char count from end of string in which to replace spaces (defaults to 12)

FAQs

Package last updated on 20 Jul 2020

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