0.0.1 • Published 11 years ago
save-url v0.0.1
Save Url

Saves a url path to the corresponding directory structure
Usage
var saveUrl = require("save-url");
//saveUrl.save(url, options, callback);
saveUrl.save(
"http://www.twitter.com/spitcode",
{},
function(err, httpResponse, body) {
}
);Options
{
baseDiskPath: __dirname,
sanatizeFileName: true,
fileName: "index.html",
includeHtml: true,
includeDomain: true,
userAgent: "save-url (https://github.com/ryanwild/save-url.git)"
}0.0.1
11 years ago