0.1.5 • Published 10 years ago

webpage-info v0.1.5

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

Return a webpage's title and favicon.

Installing the library

npm install webpage-info -g

API signature

// Signature (timeout is in milliseconds):
webpage_info = require('webpage-info')
webpage_info.parse(url, callback, timeout)

Example

webpage_info = require('webpage-info')
callback = function(obj) { 
    console.log(obj.title); 
    console.log(obj.favicon); 
    console.log(obj.error); // Will be set if an error happend
}
webpage_info.parse('http://www.youtube.com/watch?v=9bZkp7q19f0', callback)
0.1.5

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago