1.0.6 • Published 9 years ago

gicon v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Gicon

Build Status Gitter

Get the real path of favicon from website.

Installation

npm install gicon

Usage

var gicon = require("gicon");

// get favicon url
gicon.favicon("github.com", function(err, path) {
  // if err is not null, err contains error code and error message
  // path is "https://github.com/favicon.ico";
});

// get favicon file buffer
gicon.favicon("requirejs.org", function(err, path, buffer) {
  if(err) { throw err; }

  // get the favicon file buffer
  fs.writeFileSync("requirejs.org.png", buffer);

});

Service

http://gicon.lyitlove.com

License

MIT

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago