1.2.1 • Published 6 years ago
@metalcupcake5/text v1.2.1
text
A npm module for text
Install
$ npm i @metalcupcake5/text
Example Usage
const text = require("@metalcupcake5/text")
console.log(text.toProperCase("this is a test sentence");
//Returns "This Is A Test Sentence"
console.log(text.getWord(2, "this is a test sentence");
//Returns "is", the 2nd word of the sentence