luthier
noun (lu·thi·er)
one who makes stringed musical instruments (such as violins or guitars)
luthier
handles all of your string
needs. 🎸
Installation
npm install luthier --save
# or
yarn add luthier
Usage
import { luthier } from 'luthier';
Functions
camelCase
luthier.camelCase('your string');
constantCase
luthier.constantCase('your string');
containsLetters
luthier.containsLetters('your string');
containsLowerCasedLetters
luthier.containsLowerCasedLetters('your string');
containsNumbers
luthier.containsNumbers('your string');
containsOnlyLetters
luthier.containsLetters('your string');
containsOnlyLowerCasedLetters
luthier.containsOnlyLowerCasedLetters('your string');
containsOnlyNumbers
luthier.containsOnlyNumbers('your string');
containsOnlySpecialCharacters
luthier.containsOnlySpecialCharacters('your string');
containsOnlyUpperCasedLetters
luthier.containsOnlyUpperCasedLetters('your string');
containsSpecialCharacters
luthier.containsSpecialCharacters('your string');
containsUpperCasedLetters
luthier.containsUpperCasedLetters('your string');
countLines
luthier.countLines('your\nstring');
countWords
luthier.countWords('your string');
customCase
luthier.customCase('+', 'your string');
dotCase
luthier.dotCase('your string');
flip
luthier.flip('your string');
initials
luthier.initials('your string');
isCamelCased
luthier.isCamelCased('your string');
isCapitalized
luthier.isCapitalized('your string');
isConstantCased
luthier.isConstantCased('your string');
isDotCased
luthier.isDotCased('your string');
isKebabCased
luthier.isKebabCased('your string');
isLowerCased
luthier.isKebabCased('your string');
isPascalCased
luthier.isPascalCased('your string');
isSnakeCased
luthier.isSnakeCased('your string');
isStartCased
luthier.isStartCased('your string');
isStudlyCapped
luthier.isStudlyCapped('your string');
isUpperCased
luthier.isUpperCased('your string');
kebabCase
luthier.kebabCase('your string');
lowerCaseFirst
luthier.lowerCaseFirst('Your string');
lowerCaseWords
luthier.lowerCaseWords('Your String');
numeronym
luthier.numeronym('your string');
pascalCase
luthier.pascalCase('your string');
random
luthier.random(10);
reverse
luthier.reverse('your string');
rot13
luthier.rot13('your string');
shuffle
luthier.shuffle('your string');
snakeCase
luthier.snakeCase('your string');
startCase
luthier.startCase('your string');
stripTags
luthier.stripTags('<em>your string</em>');
studlyCaps
luthier.studlyCaps('your string');
upperCaseFirst
luthier.upperCaseFirst('your string');
upperCaseWords
luthier.upperCaseWords('your string');
Unlike startCase
, the upperCaseWords
method does not apply
String.prototype.toLowerCase()
first.
License
MIT