This is a simple module which shows some of the basic util functions around string. This can be used as a tutorial.
Install using npm install string-helper-tutorial
This module exports three functions.
- createString: Creates a stringified version of an object or empty string for null
- trim: Trims whitespaces from around the string
- startsWith: Checks if a string starts with a given prefix. Optionally, it can ignore the case.