icon

0.0.3 • Public • Published

icon

Convert an image to thumbnails suitable for favicon, metro tiles, touch icons.

Dependencies

Requires http://cairographics.org/ which can be installed using brew install on OS X.

Install

npm install -g icon

Usage

icon original.png
ls | select name

Name
----
favicon.ico
favicon.png
original.png
touch-icon-ipad-retina.png
touch-icon-iphone-retina.png
touch-icon-iphone.png
tileicon.png

Types

Name Type Size
touch-icon-iphone.png PNG 57 x 57
touch-icon-iphone-retina.png PNG 114 x 114
touch-icon-ipad-retina.png PNG 144 x 144
favicon.png PNG 96 x 96
favicon.ico ICO 64 x 64
tileicon.png PNG 144 x 144

Adding to your website

See Jonathan T. Neal: Understand the Favicon

License

MIT

Package Sidebar

Install

npm i icon

Weekly Downloads

99

Version

0.0.3

License

MIT

Last publish

Collaborators

  • abrkn