No description, website, or topics provided.
JavaScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
external
lib
test
.gitignore
.travis.yml
LICENSE
Makefile
README.md
index.js
package.json

README.md

node-imageviewurlreplace

Build Status

Installation

$ npm install imageviewurlreplace

Usage

var ivur = require("imageviewurlreplace");

ivur({uri: "http://ascii.jp/elem/000/000/686/686849/img.html"}, function (url, referer, res) {
  console.log(url); // http://ascii.jp/elem/000/000/686/686849/sv1_c_640x480.jpg
}).on("error", function (error) {
  console.log(error);
});

ivur("http://ascii.jp/elem/000/000/686/686849/img.html", function (url, referer, res) {
  console.log(url); // http://ascii.jp/elem/000/000/686/686849/sv1_c_640x480.jpg
});

Copyright

Copyright (c) 2012 Kazuki Suda. See LICENSE for further details.