judas

1.0.0 • Public • Published

When the web server you're using lies on a resource's file extension and content-type, judas() FTW!

install

npm install --save judas

usage

// 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 well

Check the example.js file for a practical example.

/judas/

    Package Sidebar

    Install

    npm i judas

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • josepedrodias