Import what you need
import { capitalize } from 'string-tool';
- capitalize
- nthIndexOf
- cutFirst
- cutBefore
- cutBeforeIndex
Download source and compile:
git clone git@github.com:JannesMeyer/string-tool.git
yarn
Compile and watch for file changes:
yarn start
Run tests:
yarn test
Pull requests welcome. Please respect the existing formatting and indentation style. Furthermore, please add tests for code that you contribute.