luis-vent-stringlib
v1.0.4
Published
Developmental library for String in javascript.
Readme
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()npm page: https://www.npmjs.com/package/luis-vent-stringlib
