/symbols

Set of symbol-related helpers

Primary LanguageJavaScript

String/symbols related helpers Build Status

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