1.0.3 β’ Published 4 years ago
textras v1.0.3
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.