1.0.6 • Published 10 years ago

gicon v1.0.6

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

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago