{"_id":"tinycon","_rev":"9-57b0a5f04ba6178fd0a8bb678e3bd701","name":"tinycon","description":"Add notification bubbles in the favicon","dist-tags":{"latest":"0.6.8"},"versions":{"0.0.1":{"name":"tinycon","description":"favicon notifications","version":"0.0.1","component":{"scripts":{"tinycon":"tinycon.js"}},"_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"_id":"tinycon@0.0.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"6de10cd5219a1f121d9a0a24b2c11b3fb24dffed","tarball":"https://registry.npmjs.org/tinycon/-/tinycon-0.0.1.tgz","integrity":"sha512-VprVATvuqITxAllFYAj7hgxbgYRrUCpbORfHHWiFAh13Wqmr0L9WDt4cMV+GSCmoARJgxuQq8MngaqubvR+YRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDqtDVMfliij6qTCED21LNCjIXydSFK5LPBMVHNrd0aQIhAKsi5eGw9+pR4nCRYBYpU0rvr58kESbfEahEioF9ySpo"}]},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"}]},"0.6.8":{"name":"tinycon","version":"0.6.8","description":"Add notification bubbles in the favicon","author":{"name":"Tom Moor","email":"tom.moor@gmail.com","url":"http://tommoor.com"},"license":"MIT","main":"./tinycon.js","scripts":{"build":"grunt uglify","prepublish":"grunt uglify"},"repository":{"type":"git","url":"git://github.com/tommoor/tinycon.git"},"devDependencies":{"grunt":"~0.4.5","grunt-contrib-uglify":"^2.2.1"},"gitHead":"8d62eee74e33c467efae331e697416a1c6371d32","bugs":{"url":"https://github.com/tommoor/tinycon/issues"},"homepage":"https://github.com/tommoor/tinycon#readme","_id":"tinycon@0.6.8","_shasum":"e7da223e3ee0cbf9db7963fa335699bb21777a73","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"tommoor","email":"tom.moor@gmail.com"},"dist":{"shasum":"e7da223e3ee0cbf9db7963fa335699bb21777a73","tarball":"https://registry.npmjs.org/tinycon/-/tinycon-0.6.8.tgz","integrity":"sha512-bF8Lxm4JUXF6Cw0XlZdugJ44GV575OinZ0Pt8vQPr8ooNqd2yyNkoFdCHzmdpHlgoqfSLfcyk4HDP1EyllT+ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID9z4cz0jLM3BMgalf1mTiDahhrq4pcXWga1Y7NkcjQrAiEAmwjmHmOPn8miDYAET2LDfx4HarLXPPbIkaVNcEbJfvU="}]},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"tommoor","email":"tom.moor@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tinycon-0.6.8.tgz_1491413102327_0.5732148021925241"}}},"readme":"# Tinycon\n\nA small library for manipulating the favicon, in particular adding alert bubbles and changing images. Tinycon gracefully falls back to a number in title approach for browsers that don't support canvas or dynamic favicons.\n\n<img src=\"https://github.com/tommoor/tinycon/blob/master/examples/screenshot.png?raw=true\" />\n\n<a href=\"http://tommoor.github.com/tinycon/\">See the Live Demo here.</a>\n\n## Documentation\n\nTinycon adds a single object to the global namespace and does not require initialisation.\n\n### Installation\n\nThere are several versions of Tinycon published on NPM, unfortunately they are not controlled by me and do not track HEAD. The best idea is to install from github\ndirectly and cut out the middleman!\n\n```\nnpm install tommoor/tinycon --save\n```\n\n### Basic Usage\n\n```javascript\nTinycon.setBubble(6);\n```\n\n### Options\n\nTinycon can take a range of options to customise the look\n\n* width: the width of the alert bubble\n* height: the height of the alert bubble\n* font: a css string to use for the fontface (recommended to leave this)\n* color: the foreground font color\n* background: the alert bubble background color\n* fallback: should we fallback to a number in brackets for browsers that don't support canvas/dynamic favicons? Boolean, or use the string 'force' to ensure a title update even in supported browsers.\n* abbreviate: should tinycon shrink large numbers such as 1000 to an abbreviated version (1k). Boolean, defaults to true\n\n```javascript\nTinycon.setOptions({\n\twidth: 7,\n\theight: 9,\n\tfont: '10px arial',\n\tcolor: '#ffffff',\n\tbackground: '#549A2F',\n\tfallback: true\n});\n```\n\n### AMD support\n\nTinycon can also be used as an asynchronous module.\n\n```javascript\nrequire([\n\t'tinycon.js'\n], function (T) {\n\n\tT.setOptions({\n\t\twidth: 7,\n\t\theight: 9,\n\t\tfont: '10px arial',\n\t\tcolor: '#ffffff',\n\t\tbackground: '#549A2F',\n\t\tfallback: true\n\t});\n\n\tT.setBubble(7);\n\n});\n```\n\n## Browser Support\n\nTinycon has been tested to work completely in the following browsers. Older versions may be supported, but haven't been tested:\n\n* Chrome 15+\n* Firefox 9+\n* Opera 11+\n\nCurrently the library degrades to title update:\n\n* Internet Explorer 9\n* Safari 5\n\n\n## Development\n\nTo produce the minified file run `grunt uglify`\n\n\n## License / Credits\n\nTinycon is released under the MIT license. It is simple and easy to understand and places almost no restrictions on what you can do with Tinycon.\n[More Information](http://en.wikipedia.org/wiki/MIT_License)\n\nTinycon was inspired by [Notificon](https://github.com/makeable/Notificon)\n\n\n## Download\n\nReleases are available for download from\n[GitHub](http://github.com/tommoor/tinycon/downloads).\n","maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"tommoor","email":"tom.moor@gmail.com"}],"time":{"modified":"2022-06-27T07:03:01.738Z","created":"2012-06-14T18:03:24.215Z","0.0.1":"2012-06-14T18:03:25.626Z","0.6.8":"2017-04-05T17:25:04.194Z"},"users":{"hkbarton":true,"santihbc":true},"readmeFilename":"README.md","homepage":"https://github.com/tommoor/tinycon#readme","repository":{"type":"git","url":"git://github.com/tommoor/tinycon.git"},"author":{"name":"Tom Moor","email":"tom.moor@gmail.com","url":"http://tommoor.com"},"bugs":{"url":"https://github.com/tommoor/tinycon/issues"},"license":"MIT"}