Extra Credit

quote-js-string

Escape a string and wrap it in quotes to produce a safe JavaScript string literal

$npm install quote-js-string

Official docs outline

Extra Credit builds an outline of quote-js-string's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484