escape-latex

Escape LaTeX special characters with Javascript

escape-latex

Escape LaTeX special characters with Javascript in NodeJS environment.

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

or

mocha -u tdd