{"_id":"nprogress","_rev":"47-b7fb858757d90580a3e1e5f068d95829","name":"nprogress","description":"Simple slim progress bars","dist-tags":{"latest":"0.2.0","next":"1.0.0-1"},"versions":{"0.1.4":{"name":"nprogress","author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"version":"0.1.4","repository":{"type":"git","url":"https://github.com/rstacruz/nprogress.git"},"scripts":{"test":"mocha -R spec"},"license":"MIT","devDependencies":{"chai":"~1.6.1","mocha":"~1.11.0","jsdom":"~0.6.5"},"description":"NProgress =========","bugs":{"url":"https://github.com/rstacruz/nprogress/issues"},"homepage":"https://github.com/rstacruz/nprogress","_id":"nprogress@0.1.4","dist":{"shasum":"4afba91200fa0c23ef8caaaa574378b179b1e9cb","tarball":"https://registry.npmjs.org/nprogress/-/nprogress-0.1.4.tgz","integrity":"sha512-v/EgNmGlOTbfpu48/oCM3K6bRNoxTSGmj7fI2p83wMfe8UFpwhhQXkDXC4pioSkOMSdzLStiKloOSU+zDRa1CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvHqC2/8BO1ESFtlos2UK2KooeKt9pR5oYNhM35hksvgIhAMlD8QO5gx+PRE/FVZMIpi1cWHLWd5bHAZ8UxE93kXX2"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"directories":{}},"0.1.5":{"name":"nprogress","author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"description":"Simple slim progress bars","version":"0.1.5","repository":{"type":"git","url":"https://github.com/rstacruz/nprogress.git"},"scripts":{"test":"mocha -R spec"},"main":"nprogress.js","license":"MIT","devDependencies":{"chai":"~1.6.1","mocha":"~1.11.0","jsdom":"~0.6.5"},"dependencies":{},"bugs":{"url":"https://github.com/rstacruz/nprogress/issues"},"homepage":"https://github.com/rstacruz/nprogress","_id":"nprogress@0.1.5","dist":{"shasum":"37347762e2db7ab1581c5acd75b47a900288cada","tarball":"https://registry.npmjs.org/nprogress/-/nprogress-0.1.5.tgz","integrity":"sha512-2+E2BoRNE2McD4QtFJtlM8NeSgXr+ac0HbXhhQ2sOIlfdH+OiaFzETkS9aR1WEt4rrvjWbnipmrjbJ18mxN2OA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDpaZ1kZRg8rkvv4lZTfEcXpfRpRJvMCkR3NaTazr+igIhAMPJfD9NQ2ZQVxhsfe7WUfp6yJ2E784hJXG2n9wDgYqa"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"directories":{}},"0.1.6":{"name":"nprogress","author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"description":"Simple slim progress bars","version":"0.1.6","repository":{"type":"git","url":"https://github.com/rstacruz/nprogress.git"},"scripts":{"test":"mocha -R spec"},"main":"nprogress.js","license":"MIT","devDependencies":{"chai":"~1.6.1","mocha":"~1.11.0","jsdom":"~0.6.5"},"dependencies":{},"gitHead":"d17ce5c564e8957adf161c0e2972e193ebd38b42","bugs":{"url":"https://github.com/rstacruz/nprogress/issues"},"homepage":"https://github.com/rstacruz/nprogress","_id":"nprogress@0.1.6","_shasum":"c7a3caf9f4353b178430a3ca8eaee076877ad0df","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"c7a3caf9f4353b178430a3ca8eaee076877ad0df","tarball":"https://registry.npmjs.org/nprogress/-/nprogress-0.1.6.tgz","integrity":"sha512-uvFVkacVduQ3NIzurm9QN18W4znheqlAzW7hepgdyQqcGM4cHwyNgWAPnMyNMBfSAlYuxLT4jom1czsHDem+3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDFuYZwO+kwXR3Pc/Bw/MYPQpMVxWKq//hdOs7WKLY4AiB2Po7ZKl5DQbLvk4SqDS/fxHN6nNKzuJ9xNdMe4/QFLg=="}]},"directories":{}},"0.2.0":{"name":"nprogress","author":{"name":"Rico Sta. Cruz","email":"hi@ricostacruz.com"},"description":"Simple slim progress bars","version":"0.2.0","repository":{"type":"git","url":"https://github.com/rstacruz/nprogress.git"},"scripts":{"test":"mocha"},"main":"nprogress.js","license":"MIT","devDependencies":{"chai":"~1.6.1","jquery":"^2.1.1","jsdom":"^5.4.1","mocha":"^2.2.4","mocha-jsdom":"^0.3.0"},"dependencies":{},"jspm":{"format":"global","shim":{"nprogress":{"deps":["./nprogress.css!"]}},"dependencies":{"css":"*"}},"spm":{"main":"nprogress.js","output":["nprogress.css"],"ignore":["support","test","vendor"]},"gitHead":"05e12c0bc6a3cf7460c38acec7371877abd5087e","bugs":{"url":"https://github.com/rstacruz/nprogress/issues"},"homepage":"https://github.com/rstacruz/nprogress","_id":"nprogress@0.2.0","_shasum":"cb8f34c53213d895723fcbab907e9422adbcafb1","_from":".","_npmVersion":"2.1.3","_nodeVersion":"1.6.2","_npmUser":{"name":"rstacruz","email":"rico@ricostacruz.com"},"maintainers":[{"name":"rstacruz","email":"rico@ricostacruz.com"}],"dist":{"shasum":"cb8f34c53213d895723fcbab907e9422adbcafb1","tarball":"https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz","integrity":"sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZxzLu3DZbNXusWgMtH/XVzHNsVpATy5+PNmezl7L2gwIgSq/kE/QtktifAOspgwxUkWJZ5NJ4zbYKElOHjmu0lRM="}]},"directories":{}},"1.0.0-0":{"name":"nprogress","description":"Simple slim progress bars","version":"1.0.0-0","author":{"name":"Rico Sta. Cruz","email":"rstacruz@users.noreply.github.com"},"bugs":{"url":"https://github.com/rstacruz/nprogress/issues"},"dependencies":{},"devDependencies":{"@babel/core":"^7.9.0","@babel/plugin-transform-modules-commonjs":"^7.9.0","@types/jest":"^25.2.1","babel-jest":"^25.2.6","jest":"^25.2.7","microbundle":"^0.11.0","prettier":"^2.0.4"},"homepage":"https://github.com/rstacruz/nprogress#readme","keywords":["bar","indicator","loading","nprogress","progress"],"license":"MIT","main":"dist/nprogress.js","module":"dist/nprogress.mjs","repository":{"type":"git","url":"git+https://github.com/rstacruz/nprogress.git"},"scripts":{"build":"microbundle","dev":"microbundle watch","format":"prettier --write 'src/*.js' 'css/*.{css,scss}'","prettier:check":"prettier --check 'src/*.js' 'css/*.{css,scss}'","test":"jest"},"source":"src/nprogress.js","umd:main":"dist/nprogress.umd.js","readmeFilename":"README.md","readme":"NProgress\n=========\n\n[![Status](https://api.travis-ci.org/rstacruz/nprogress.svg?branch=master)](http://travis-ci.org/rstacruz/nprogress) \n[![npm version](https://img.shields.io/npm/v/nprogress.png)](https://npmjs.org/package/nprogress \"View this project on npm\")\n[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/nprogress/badge?style=rounded)](https://www.jsdelivr.com/package/npm/nprogress)\n\n> Minimalist progress bar\n\nSlim progress bars for Ajax'y applications. Inspired by Google, YouTube, and\nMedium.\n\nInstallation\n------------\n\nAdd [nprogress.js] and [nprogress.css] to your project.\n\n```html\n\n\n```\n\nNProgress is available via [bower] and [npm].\n\n $ npm install --save nprogress\n\nAlso available via [unpkg] CDN:\n\n- https://unpkg.com/nprogress@0.2.0/nprogress.js\n- https://unpkg.com/nprogress@0.2.0/nprogress.css\n\n[bower]: http://bower.io/search/?q=nprogress\n[npm]: https://www.npmjs.org/package/nprogress\n[unpkg]: https://unpkg.com/\n\nBasic usage\n-----------\n\nSimply call `start()` and `done()` to control the progress bar.\n\n~~~ js\nNProgress.start();\nNProgress.done();\n~~~\n\n### Turbolinks (version 5+)\nEnsure you're using Turbolinks 5+, and use \nthis: (explained [here](https://github.com/rstacruz/nprogress/issues/8#issuecomment-239107109))\n\n~~~ js\n$(document).on('turbolinks:click', function() {\n NProgress.start();\n});\n$(document).on('turbolinks:render', function() {\n NProgress.done();\n NProgress.remove();\n});\n~~~\n\n### Turbolinks (version 3 and below)\nEnsure you're using Turbolinks 1.3.0+, and use \nthis: (explained [here](https://github.com/rstacruz/nprogress/issues/8#issuecomment-23010560))\n\n~~~ js\n$(document).on('page:fetch', function() { NProgress.start(); });\n$(document).on('page:change', function() { NProgress.done(); });\n$(document).on('page:restore', function() { NProgress.remove(); });\n~~~\n\n### Pjax\nTry this: (explained [here](https://github.com/rstacruz/nprogress/issues/22#issuecomment-36540472))\n\n~~~ js\n$(document).on('pjax:start', function() { NProgress.start(); });\n$(document).on('pjax:end', function() { NProgress.done(); });\n~~~\n\nIdeas\n-----\n\n * Add progress to your Ajax calls! Bind it to the jQuery `ajaxStart` and\n `ajaxStop` events.\n\n * Make a fancy loading bar even without Turbolinks/Pjax! Bind it to\n `$(document).ready` and `$(window).load`.\n\nAdvanced usage\n--------------\n\n__Percentages:__ To set a progress percentage, call `.set(n)`, where *n* is a\nnumber between `0..1`.\n\n~~~ js\nNProgress.set(0.0); // Sorta same as .start()\nNProgress.set(0.4);\nNProgress.set(1.0); // Sorta same as .done()\n~~~\n\n__Incrementing:__ To increment the progress bar, just use `.inc()`. This\nincrements it with a random amount. This will never get to 100%: use it for\nevery image load (or similar).\n\n~~~ js\nNProgress.inc();\n~~~\n\nIf you want to increment by a specific value, you can pass that as a parameter:\n\n~~~ js\nNProgress.inc(0.2); // This will get the current status value and adds 0.2 until status is 0.994\n~~~\n\n__Force-done:__ By passing `true` to `done()`, it will show the progress bar\neven if it's not being shown. (The default behavior is that *.done()* will not\n do anything if *.start()* isn't called)\n\n~~~ js\nNProgress.done(true);\n~~~\n\n__Get the status value:__ To get the status value, use `.status`\n\nConfiguration\n-------------\n\n#### `minimum`\nChanges the minimum percentage used upon starting. (default: `0.08`)\n\n~~~ js\nNProgress.configure({ minimum: 0.1 });\n~~~\n\n#### `template`\nYou can change the markup using `template`. To keep the progress\nbar working, keep an element with `role='bar'` in there. See the [default template]\nfor reference.\n\n~~~ js\nNProgress.configure({\n template: \"