Skip to content

korpozim/texthelper1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...?)

About

Simple text helper library for javascript.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •