{"_id":"jquery-numerator","_rev":"3-2181e3118a8c9ae1b563daeec6310fd7","name":"jquery-numerator","description":"A jQuery plugin to easily animate numbers.","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.1":{"name":"jquery-numerator","version":"0.2.1","description":"A jQuery plugin to easily animate numbers.","main":"jquery-numerator.js","repository":{"type":"git","url":"https://github.com/garethdn/jquery-numerator.git"},"dependencies":{"jquery":">=1.9.1"},"keywords":["jquery","animate","numbers","number","numerate","numerator","stopwatch","timer"],"author":{"name":"Gareth Nolan"},"license":"MIT","bugs":{"url":"https://github.com/garethdn/jquery-numerator/issues"},"homepage":"https://github.com/garethdn/jquery-numerator","gitHead":"8cdfbc8676bb236e643cb0f45b43ec97b949a13c","_id":"jquery-numerator@0.2.1","scripts":{},"_shasum":"7f633fc7a3fdf3be0db64d35cefe61c9675a4ad7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"gareth.nolan","email":"garethdn@gmail.com"},"maintainers":[{"name":"gareth.nolan","email":"garethdn@gmail.com"}],"dist":{"shasum":"7f633fc7a3fdf3be0db64d35cefe61c9675a4ad7","tarball":"https://registry.npmjs.org/jquery-numerator/-/jquery-numerator-0.2.1.tgz","integrity":"sha512-wClohQE/K0DkmfB0Mu2sviam2inl9GcIH2gJpNh9aDOKccidXwMg2Oo93nN7NxuTg8zMA2qzrGi0I2MjQ2AeRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHxCrfz5nSKMsgATEG5uTlYtos20mKb4CbZBCw7vCuzAIgMFO0WCx4Cuuk4DeCb3GorHUb0nJGEoF8ystB2kdWwWQ="}]}}},"readme":"# jQuery Numerator\n\nA jQuery plugin to easily animate numbers.\n\n### Demo page\n\n<a href=\"http://garethdn.github.io/jquery-numerator/\">http://garethdn.github.io/jquery-numerator/</a>\n\n### Installation\n\nInclude script after the jQuery library:\n\n```html\n<script type=\"text/javascript\" src=\"/path/to/jquery-numerator.js\"></script>\n```\n\n### Usage\n\n```js\n$('.my-value').numerator( options )\n```\n\n### Options\n\n#### easing (string)\n\nAn optional parameter to specify the animation easing. Defaults to swing.\n\n```js\neasing: 'linear'\n```\n\n#### duration (number)\n\nAn optional parameter specifying the length of the animation in milliseconds (ms). Defaults to 500 (1/2 a second).\n\n```js\nduration: 2000\n```\n\n#### delimiter (string)\n\nAn optional parameter specifying character(s) used to delimit thousands values.\n\n```js\ndelimiter: ','\n```\n\n#### rounding (number)\n\nThis parameter specifies the number of decimal points to display. Defaults to 0.\n\n```js\nrounding: 2\n```\n\n#### toValue (number)\n\nThe final value that you want the number to be animated to.\n\n```js\ntoValue: 205\n```\n\n#### onStart (function)\n\nA function to be called when the animation beings.\n\n```js\nonStart: function(){\n\talert('Animation started')\n}\n```\n\n#### onStep (function)\n\nA function to be called at each step of the animation. Accepts two arguments, now and fx.\n\n```js\nonStep: function(now, fx){\n\talert('The current value is: ' + now)\n}\n```\n\n#### onComplete (function)\n\nA function to be called when the animation is complete.\n\n```js\nonComplete: function(){\n\talert('The animation is now complete')\n}\n```\n\n### TODO\n\n* Implement queue functionality\n* Publish bower package\n* Publish NPM package\n\n## License\n\nMIT License\n(c) [Gareth Nolan](http://ie.linkedin.com/in/garethnolan/)","maintainers":[{"name":"gareth.nolan","email":"garethdn@gmail.com"}],"time":{"modified":"2022-06-19T05:08:18.406Z","created":"2015-09-23T11:57:04.140Z","0.2.1":"2015-09-23T11:57:04.140Z"},"homepage":"https://github.com/garethdn/jquery-numerator","keywords":["jquery","animate","numbers","number","numerate","numerator","stopwatch","timer"],"repository":{"type":"git","url":"https://github.com/garethdn/jquery-numerator.git"},"author":{"name":"Gareth Nolan"},"bugs":{"url":"https://github.com/garethdn/jquery-numerator/issues"},"license":"MIT","readmeFilename":"README.md"}