1.0.3 β€’ Published 4 years ago

textras v1.0.3

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

Textras

Textras is a Node package which allows you to use some more cool text features as Prototypes!

Installation

Use npm to install Textras.

npm install textras

Usage

require('textras');

const string = "hello world";

string.wordCap()     //===> "Hello World"
string.remove(3)     //===> "helo world"
string.italic()      //===> "𝘩𝘦𝘭𝘭𝘰 𝘸𝘰𝘳𝘭π˜₯"
string.bold()        //===> "𝗡𝗲𝗹𝗹𝗼 π˜„π—Όπ—Ώπ—Ήπ—±"
string.separate('-') //===> "h-e-l-l-o-w-o-r-l-d"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

ISC