symbols
v0.0.6
Published
String/symbols related helpers
Downloads
1,501
Maintainers
Readme
String/symbols related helpers
Set of symbol-related helpers
Installation
npm install symbols
Helpers
var symbols = require('symbols');
// eyuioa
symbols.is_vowel(sym);
// qwrtpasdfghjklmnbvcxz
symbols.is_consonant(sym);
// {}()[]<>
symbols.is_bracket(sym);
// {([<
symbols.is_open_bracket(sym);
// })]>
symbols.is_close_bracket(sym);
// 0123456789
symbols.is_digit(sym);
// ,.!;:-?
symbols.is_punctuation(sym);
License
MIT