tokenizr (npm): String Tokenization Library for JavaScript
Keywords: string|token|scanner|lexer|parsing