ruglify

'Require' minified JavaScript as a string

npm install ruglify
2 888 downloads in the last day
15 114 downloads in the last week
70 899 downloads in the last month

ruglify

Build Status Dependency Status

"Require" minified JavaScript as a string

Installation

npm install ruglify

Usage

var ruglify = require('ruglify');
var minifiedJQuery = ruglify('./jquery.js');
console.log(minifiedJQuery);

Uses the same resolution algorithm as require for maximum simplicity. Built on top of rfile.

License

MIT

npm loves you