GitHub repository: mathiasbynens/jsesc
Primary language: JavaScript
Description: Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.