luis-vent-stringlib

1.0.4 • Public • Published

Author: Luis Ventura

This is a developmental library for Strings in javascript.

To install,

  1. Open the terminal.
  2. Navigate to the project directory.
  3. 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

Readme

Keywords

none

Package Sidebar

Install

npm i luis-vent-stringlib

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

3.24 kB

Total Files

3

Last publish

Collaborators

  • venturingguy