@wessberg/stringutil
Installation
Simply do: npm install @wessberg/stringutil
.
Description
A collection of helper functions for working with strings.
Usage
import {camelCase, allIndexesOf} from "@wessberg/stringutil";
camelCase("my-string");
camelCase("my string");
camelCase("MY_STRING");
camelCase("my-complex_string HAS a_SPACE");
allIndexesOf(/_/g, "my string has underscores _here_");
Backers
Become a backer and get your name, logo, and link to your site listed here. Your help is greatly appreciated!