{"_id":"jquery-countdown","_rev":"7-303b9ee4743fdd2679286c2974e2f9cd","name":"jquery-countdown","description":"The Final Countdown for jQuery","dist-tags":{"latest":"2.2.0"},"versions":{"2.0.5":{"name":"jquery-countdown","version":"2.0.5","description":"The Final Countdown for jQuery","author":{"name":"Edson Hilios"},"homepage":"http://hilios.github.io/jQuery.countdown/","repository":{"type":"git","url":"https://github.com/hilios/jQuery.countdown"},"devDependencies":{"grunt":"~0.4","grunt-contrib-clean":"~0.5","grunt-contrib-compress":"~0.6","grunt-contrib-jshint":"~0.10","grunt-contrib-uglify":"~0.4","grunt-jsonlint":"~1.0","grunt-karma":"~0.8","grunt-version":"~0.3","karma":"~0.12","karma-coverage":"~0.2","karma-phantomjs-launcher":"~0.1","karma-qunit":"~0.1","karma-requirejs":"~0.2","karma-sinon":"~1.0","requirejs":"~2.1"},"scripts":{"test":"grunt test"},"gitHead":"ba676a5299fc3ba36a9946ec87cee8c3f7b9500a","bugs":{"url":"https://github.com/hilios/jQuery.countdown/issues"},"_id":"jquery-countdown@2.0.5","_shasum":"33a68cc6aea0e742ef3f72c2fc177d12614282c6","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"gabel","email":"gabeldeluxe@gmail.com"},"maintainers":[{"name":"gabel","email":"gabeldeluxe@gmail.com"}],"dist":{"shasum":"33a68cc6aea0e742ef3f72c2fc177d12614282c6","tarball":"https://registry.npmjs.org/jquery-countdown/-/jquery-countdown-2.0.5.tgz","integrity":"sha512-Xu6vhLS4Jk2LNNTbSuDN0lU2PfQ9oULtKy4C41cMj8HVcTKciYGwHZ3KO54Hq+csvSkpn9v65NABE6UB4b7fJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWO0Sq45gXkMptnkGRoa5121zEoK1pAqenrOLv9kSl5wIgSJnglSpdFi3htw9xXNQQitjgWpWeWATIz/9vApMvW7A="}]}},"2.2.0":{"name":"jquery-countdown","version":"2.2.0","main":"dist/jquery.countdown.js","description":"The Final Countdown for jQuery","author":{"name":"Edson Hilios"},"homepage":"http://hilios.github.io/jQuery.countdown/","repository":{"type":"git","url":"git+https://github.com/hilios/jQuery.countdown.git"},"devDependencies":{"grunt":"~0.4","grunt-contrib-clean":"~0.5","grunt-contrib-compress":"~0.6","grunt-contrib-jshint":"~0.10","grunt-contrib-uglify":"~0.4","grunt-jsonlint":"~1.0","grunt-karma":"~0.8","grunt-version":"~0.3","karma":"~0.12","karma-coverage":"~0.2","karma-phantomjs-launcher":"~0.1","karma-qunit":"~0.1","karma-requirejs":"~0.2","karma-sinon":"~1.0","requirejs":"~2.1"},"scripts":{"test":"grunt test"},"gitHead":"f4dd04b02be1e0504c03d886efe8a94de7f2da6b","bugs":{"url":"https://github.com/hilios/jQuery.countdown/issues"},"_id":"jquery-countdown@2.2.0","_shasum":"ba78ed5d7cf107b3b1cac9c6ba07997d4aa2dcef","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"hilios","email":"edson.hilios@gmail.com"},"dist":{"shasum":"ba78ed5d7cf107b3b1cac9c6ba07997d4aa2dcef","tarball":"https://registry.npmjs.org/jquery-countdown/-/jquery-countdown-2.2.0.tgz","integrity":"sha512-EKjzyaHYSQdOnn/eVvP84l044kDB6w//IR/25CHGyhJfT1Lb9pQdMo75n+MqZWgJpLprfeCyaPo/jaSn6sR5AA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpHux7id2sD9ExwkIY/JoFNlpp5nBkgVAl5DjYw+nDPwIgUBK7dgx9v1JXrPq88+9FWSlCU2rYIRnNYMtsUyURbTk="}]},"maintainers":[{"name":"gabel","email":"gabeldeluxe@gmail.com"},{"name":"hilios","email":"edson.hilios@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jquery-countdown-2.2.0.tgz_1470666201327_0.089147295570001"}}},"readme":"[The Final Countdown](http://hilios.github.io/jQuery.countdown/) [![Build Status](https://travis-ci.org/hilios/jQuery.countdown.svg)](https://travis-ci.org/hilios/jQuery.countdown)\n=====================\n\n#### A simple and html agnostic date countdown plugin for jQuery ####\n\nTo get started, check-it out: http://hilios.github.io/jQuery.countdown/\n\nThe ultimate countdown plugin designed to fit in any coupon, auction site or product launch. Read our [Documentation](http://hilios.github.io/jQuery.countdown/documentation.html) and follow our [Examples](http://hilios.github.io/jQuery.countdown/examples.html) to see what suits your particular needs.\n\n#### [Download](https://github.com/hilios/jQuery.countdown/releases/download/2.1.0/jquery.countdown-2.1.0.zip) ####\n\n[Click here to download the latest version](https://github.com/hilios/jQuery.countdown/releases/download/2.1.0/jquery.countdown-2.1.0.zip)\n\nIf you want to clone the repo always use the files under [dist](https://github.com/hilios/jQuery.countdown/tree/master/dist) folder, they are optimized for production and development.\n\n#### Install via Bower ####\n\n```\nbower install jquery.countdown\n```\n\nAdd a `script` to your html:\n\n```html\n<script src=\"/bower_components/jquery.countdown/dist/jquery.countdown.js\"></script>\n```\n\nGetting started\n---------------\n\n```html\n<div id=\"getting-started\"></div>\n<script type=\"text/javascript\">\n  $('#getting-started').countdown('2015/01/01', function(event) {\n    $(this).html(event.strftime('%w weeks %d days %H:%M:%S'));\n  });\n</script>\n```\n\n### Requirements ###\n\nSince version 2.0.0 we only support jQuery above **1.7** (including **2.x** and **3.x**). For legacy **1.6** support please use the version [1.0.2](https://github.com/hilios/jQuery.countdown/releases/download/1.0.2/jquery.countdown-1.0.2.zip).\n\n### [Documentation](http://hilios.github.io/jQuery.countdown/documentation.html) ###\n\nOur documentation is powered by [Jekyll](http://jekyllrb.com/) (see `gh-page` branch) and hosted in GitHub Pages at [http://hilios.github.io/jQuery.countdown/](http://hilios.github.io/jQuery.countdown/documentation.html).\n\n### [Examples](http://hilios.github.io/jQuery.countdown/examples.html) ###\n\nThere are few ways to get started, from the most simple example to advanced, we support many different countdown styles, see wich one fits your scenario, and if anyone doesn't it's a good starting point to customize your output.\n\n - [Basic coupon site with format N days hr:min:sec](http://hilios.github.io/jQuery.countdown/examples/basic-coupon-site.html)\n - [Advance coupon with conditionals and pluralization, format N weeks N days hr:min:sec](http://hilios.github.io/jQuery.countdown/examples/advanced-coupon-site.html)\n - [Product launch in... (callback style)](http://hilios.github.io/jQuery.countdown/examples/website-launch.html)\n - [New year's eve (legacy style)](http://hilios.github.io/jQuery.countdown/examples/legacy-style.html)\n - [Multiple instances on the same page](http://hilios.github.io/jQuery.countdown/examples/multiple-instances.html)\n - [Calculate the countdown total hours](http://hilios.github.io/jQuery.countdown/examples/show-total-hours.html)\n\n[Release notes](https://github.com/hilios/jQuery.countdown/releases)\n---------------\n\nCurrent version is **2.1.0**, to follow our change log please visit the [release notes](https://github.com/hilios/jQuery.countdown/releases).\n\n#### What's new in 2.1.0? ####\n\n * Add proper offset for days left to a month and to a week;\n * Fix bower amd install;\n\n#### What's new in 2.0.5? ####\n\n * Allow precision controls through an options object;\n * Allow to continue after countdown finishes;\n * Don't dispatch events when nothing changes;\n\nContributing\n------------\n\nThe Final Countdown uses **Grunt** and **Bower** with convenient methods for developing the plugin. It's how we compile our code and run tests. To get started install [NodeJS](http://nodejs.org/), [Bower](http://bower.io/), and then run some Grunt/Bower commands.\n\n```shell\nbower install\nnpm install\ngrunt test  # Lint code and run test suite\ngrunt build # Generate the release files (dev, min and zip)\ngrunt       # Watch for updates than test and build\n```\n\nThis plugin is tested with [QUnit](http://qunitjs.com/), under jQuery 1.7 up to 2.1, Bootstrap 3.0 and RequireJS.\n\nThe functional tests made against:\n\n*   Chrome >= 12\n*   Safari >= 5\n*   Firefox >= 5.0\n*   IE 7/8/9\n\nCode coverage:\n\n```sh\n---------------|----------|----------|----------|----------|----------------|\nFile           |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\n---------------|----------|----------|----------|----------|----------------|\n src/          |    98.39 |    90.32 |      100 |    98.39 |                |\n  countdown.js |    98.39 |    90.32 |      100 |    98.39 |          6,269 |\n---------------|----------|----------|----------|----------|----------------|\nAll files      |    98.39 |    90.32 |      100 |    98.39 |                |\n---------------|----------|----------|----------|----------|----------------|\n```\n\n### Contributors ###\n\nThanks for bug reporting and fixes:\n\n*   Daniel Leavitt (@dleavitt)\n*   Fagner Brack (@FagnerMartinsBrack)\n*   Matthew Sigley (@msigley)\n*   Roman Shterenzon (@romanbsd)\n*   Marios (@assiotis)\n*   Zane Yao (@yaoazhen)\n*   Ricardo Calvo (@ricardocalvo)\n\n### License ###\n\nCopyright (c) 2011-2015 Edson Hilios. This is a free software is licensed under the MIT License.\n\n*   [Edson Hilios](http://edson.hilios.com.br). Mail me: edson (at) hilios (dot) com (dot) br\n","maintainers":[{"name":"gabel","email":"gabeldeluxe@gmail.com"},{"name":"hilios","email":"edson.hilios@gmail.com"}],"time":{"modified":"2022-06-19T05:00:44.263Z","created":"2015-08-03T05:51:25.490Z","2.0.5":"2015-08-03T05:51:25.490Z","2.2.0":"2016-08-08T14:23:24.664Z"},"homepage":"http://hilios.github.io/jQuery.countdown/","repository":{"type":"git","url":"git+https://github.com/hilios/jQuery.countdown.git"},"author":{"name":"Edson Hilios"},"bugs":{"url":"https://github.com/hilios/jQuery.countdown/issues"},"readmeFilename":"README.md","users":{"filipve":true,"unkray":true}}