@tsamantanis/string-lib
v1.2.0
Published
Library for manipulating strings
Downloads
5
Readme
String Libs
A library of string manipulation functions to help Javascript developers.
Installation
To install this library, run
npm install @tsamantanis/string-lib
inside your project directory.
Usage
To use the string library in your JS file, import the library by using the following:
const stringLib = require("@tsamantanis/string-lib")
Example
const stringLib = require("@tsamantanis/string-lib")
console.log(stringLib.camelCase("Hello World!")) // returns the string input in camel case
Example using String.prototype
const stringLib = require("@tsamantanis/string-lib")
console.log("Hello World!".camelCase) // returns the string input in camel case