string-manipulation-lib
v1.0.0
Published
Обработка текстовых строк
Downloads
9
Readme
string-manipulation-lib
A simple string manipulation library.
Installation
npm install string-manipulation-lib
Usage
const stringLib = require('string-manipulation-lib');
console.log(stringLib.reverseString("hello")); // Output: "olleh" console.log(stringLib.toUpperCase("hello")); // Output: "HELLO"
Functions
reverseString(str) Reverses the given string.
toUpperCase(str) Converts the given string to upper case.