1.0.0 • Published 11 years ago
judas v1.0.0
When the web server you're using lies on a resource's file extension and content-type, judas() FTW!
install
npm install --save judasusage
// require the module
var judas = require('judas');
judas(urlToFetch, localPathWithoutExtension, callback);
// the callback with be called with (err) in case of error or (null, localPathWithExtension) if everything went wellCheck the example.js file for a practical example.
1.0.0
11 years ago