3.0.0 • Published 3 years ago

ryan-lee-stringlib v3.0.0

Weekly downloads
62
License
ISC
Repository
github
Last release
3 years ago

GitHub top language npm bundle size npm GitHub last commit

String Library Author: Ryan Lee

This is a small library to help manage strings in JavaScript

How to install:

  1. Open terminal
  2. Navigate to your project directory
  3. Run 'npm i ryan-lee-stringlib' in the command line

Code Sample and How to Use:

function capitalize(str) { console.log('---capitalize---'); return str0.toUpperCase() + str.slice(1); } String.prototype.capitalize = function () { return capitalize(this); };

This function takes the string and capitalizes the first letter

To Use: console.log(capitalize('string here')) Outputs: 'Hello world'

3.0.0

3 years ago

2.0.0

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago