0.1.5 • Published 8 years ago

webpage-info v0.1.5

Weekly downloads
5
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago