You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@hashicorp/js-utils

Package Overview
Dependencies
Maintainers
20
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/js-utils

JavaScript utilities for HashiCorp components and packages


Version published
Weekly downloads
4.9K
decreased by-18.56%
Maintainers
20
Created
Weekly downloads
 

Readme

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc