1.0.0 • Published 4 years ago

npmjs-string-functions-owthub-sample v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

What this package is ?

This is a npm package which find the listed functions below

1. Find the length of the string
2. Convert string to Uppercase
3. Convert string to lower case
4. Find a sub string inside a string
5. Reverse a string value

How can we install this package ?

npm install --save npmjs-string-functions-owthub-sample

npm i --save npmjs-string-functions-owthub-sample

How can we make use of this package?

const {findLength, upper, lower, findWord, reverseString} = require("npmjs-string-functions-owthub-sample");

console.log(findLength("Online Web Tutor"));

console.log(upper("Online Web Tutor"));

console.log(lower("Online Web Tutor"));

console.log(findWord("Web", "Online Web Tutor"));

console.log(reverseString("Online Web Tutor"));