1.0.10 • Published 4 years ago
@hashicorp/js-utils v1.0.10
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)
1.0.10
4 years ago
1.0.9
4 years ago
1.0.9-alpha.0
5 years ago
1.0.8-alpha.0
5 years ago
1.0.7-alpha.0
5 years ago
1.0.6-alpha.0
5 years ago
1.0.5-alpha.0
5 years ago
1.0.4-alpha.0
5 years ago
1.0.3-alpha.0
5 years ago
1.0.2-alpha.0
5 years ago
1.0.1
5 years ago
1.0.0
6 years ago