3.0.0 • Published 3 years ago

texthelper1 v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

texthelper1

texthelper1

Simple text helper library for javascript.

npm version Build Status codecov

Install texthelper1

npm install --save texthelper1

Using texthelper1

// ES6
import 'texthelper1';

// ES5
require('texthelper1');

const text = 'asd dsa';

// General
text.firstup();         // Asd dsa
text.wordsfirstup();    // Asd Dsa
text.doublequotes();    // "asd dsa"
text.singlequotes();    // 'asd dsa'
text.camelcase();       // asdDsa
text.pascalcase();      // AsdDsa
text.snakecase();       // asd_dsa
text.kebabcase();       // asd-dsa
text.reverse();         // asd dsa
text.removenumber();    // asd dsa
text.removespace();     // asddsa

// Punctuation marks
text.endpoint();        // asd dsa.
text.question();        // asd dsa?
text.exclamation();     // asd dsa!
text.blabla();          // asd dsa...

// Brackets
text.brackets();        // [asd dsa]
text.parentheses();     // (asd dsa)
text.braces();          // {asd dsa}
text.anglebrackets();   // <asd dsa>

// Validator
text.isurl();           // false
text.isnullorempty();   // false

// Miscellaneous
text.password();        // *******
text.reset();           // 

// Complex
text.blabla().question().parentheses()      // (asd dsa...?)
3.0.0

3 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

1.2.0

4 years ago

2.0.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago