JS-Lexer is a project inspired from making a Monkey interpreter in Go by reading 'Writing an Interpreter in Go' by Thorsten Ball. The goal was simply to build the lexer out on my own in JS.
It's published as an npm package on here: https://www.npmjs.com/package/@shobhit-nagpal/js-lexer