Author: Luis Ventura
This is a developmental library for Strings in javascript.
To install,
- Open the terminal.
- Navigate to the project directory.
- Run 'npm i luis-vent-stringlib' (no quotations) in the command line.
Sample Code:
String.prototype.capitalize = function() {
return this[0].toUpperCase() + this.slice(1)
}
This function serves to capitalize the first letter in a string.
To use:
[yourStringHere].capitalize()