escape-latex

Escape LaTeX special characters with Javascript

escape-latex

Escape LaTeX special characters with Javascript.

var lescape = require('escape-latex');
lescape("String to be escaped here #yolo");
npm test

or

mocha -u tdd