{"_id":"next-update-stats","_rev":"29-a28321867666d098cdc9edd1804d4bcb","name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.1":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","keywords":["npm","node","package","version","upgrade","statistics"],"version":"0.0.1","private":false,"scripts":{"start":"node ./node_modules/nodemon/nodemon.js app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"1.0.0","poseidon-mongo":"0.0.7","check-types":"~1.1.1","q":"~0.9.7","semver":"~2.2.1"},"devDependencies":{"nodemon":"~0.7.10","gt":"~0.8.21","pre-git":"0.0.14"},"readme":"# next-update-stats\n\nSmall server keeping package upgrade version statistics\n\nIn essense it keeps anonymous stats when upgrading public packages.\n\nUpgrading [lodash](https://npmjs.org/package/lodash)\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\n\nAllows you to judge how likely a successful update for your\nproject would be.\n\n## Development\n\nSet environment variables to whatever MongoDB expects\n\n```\nexport STATS_DB_USERNAME=username\nexport STATS_DB_PASSWORD=password\n```\n\nStart server `npm start`\n\nPost an update `curl -X POST http://localhost:3000/update`\n","readmeFilename":"README.md","_id":"next-update-stats@0.0.1","dist":{"shasum":"974ddf3e05d60c9e1b1b174ee2c80ec8b33f004a","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.0.1.tgz","integrity":"sha512-OVKYFwJUUm5zB2PXTnLEO3H3dDRgCmPHWTJxmrFJcSjn2UyOsCk3vxdEa1VxDI2yi+l6KX/yg6SNpuow66ZX7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvTuxX/Hr9478FOk8AvG8KvP0sxxBFQOWyiFjUHuPi9AiA2nESP1XJ265dzk7oT7W3uGsCU2X9bC/8c2EspbK1ayQ=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"0.0.2":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","keywords":["npm","node","package","version","upgrade","statistics"],"version":"0.0.2","private":false,"scripts":{"start":"node ./node_modules/nodemon/nodemon.js app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"1.0.0","poseidon-mongo":"0.0.7","check-types":"~1.1.1","q":"~0.9.7","semver":"~2.2.1"},"devDependencies":{"nodemon":"~0.7.10","gt":"~0.8.21","pre-git":"0.0.14"},"readme":"# next-update-stats\n\nSmall server keeping package upgrade version statistics\n\nIn essense it keeps anonymous stats when upgrading public packages.\n\nUpgrading [lodash](https://npmjs.org/package/lodash)\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\n\nAllows you to judge how likely a successful update for your\nproject would be.\n\n## Development\n\nSet environment variables to whatever MongoDB expects\n\n```\nexport STATS_DB_USERNAME=username\nexport STATS_DB_PASSWORD=password\n```\n\nStart server `npm start`\n\nPost an update `curl -X POST http://localhost:3000/update`\n","readmeFilename":"README.md","_id":"next-update-stats@0.0.2","dist":{"shasum":"14d1d5fdccc011cb28382195365fa832b0614f63","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.0.2.tgz","integrity":"sha512-0mbIhfviKM4roWUU6hFqSzYA7BtO7WX2AsWtQtk4dOM2xYg8m6zUg4CWZO74b4amQGjgGLaLkj+JFItNvS5v9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDikCT8fCCRaQBInG2XrcYRJD9f5Ee3YADegfF5LrDKpgIhAMqBKpjryT0mzDh4uTz64hfWD2Dw9NF3Oid0vtVzWUo5"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"0.0.3":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","version":"0.0.3","keywords":["npm","node","package","version","upgrade","statistics"],"private":false,"repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"bugs":{"url":"https://github.com/bahmutov/next-update-stats/issues"},"scripts":{"start":"node ./node_modules/nodemon/nodemon.js app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"1.0.0","poseidon-mongo":"0.0.7","check-types":"~1.1.1","q":"~0.9.7","semver":"~2.2.1","mongodb":"~1.3.23"},"devDependencies":{"nodemon":"~0.7.10","gt":"~0.8.21","pre-git":"0.0.14"},"readme":"# next-update-stats\n\nSmall server keeping package upgrade version statistics\n\nIn essense it keeps anonymous stats when upgrading public packages.\n\nUpgrading [lodash](https://npmjs.org/package/lodash)\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\n\nAllows you to judge how likely a successful update for your\nproject would be.\n\n## Development\n\nSet environment variables to whatever MongoDB expects\n\n```\nexport STATS_DB_USERNAME=username\nexport STATS_DB_PASSWORD=password\n```\n\nStart server `npm start`\n\nPost an update `curl -X POST http://localhost:3000/update` (should fail)\n\ninside folder *test-e2e* there are a few JSON files, you can try\n\n```\ncurl -X POST http://localhost:3000/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\nYou can test deployed Heroku app\n\n```\ncurl -X POST http://next-update.herokuapp.com/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\n## Fetching information\n\n```\ncurl -i http://localhost:3000/package/lodash/1.0.0/2.0.0\ncurl -i http://localhost:3000/package/lodash\n```\n","readmeFilename":"README.md","_id":"next-update-stats@0.0.3","dist":{"shasum":"cd828bd0a327b486ef69d8bc6f912a3b4a182372","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.0.3.tgz","integrity":"sha512-bmUvxxVnDlqVXveCLNAruE89VHKmcLPMqAjzCTcdqpF3o4tD4EKVTOjGYOTe6bL1nXHnpBPrYDz1zoh15kZKKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkEUMUBGk6jdPG3OBcgZ+3jKelz6kZfj6A6FbBVaYa0QIhANZzwQVKRmnlwCWuubpP3FKppSuOZuDVP6cLbgMQw30A"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"0.0.4":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","version":"0.0.4","keywords":["npm","node","package","version","upgrade","statistics"],"private":false,"repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"bugs":{"url":"https://github.com/bahmutov/next-update-stats/issues"},"scripts":{"start":"node ./node_modules/nodemon/nodemon.js app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"1.0.0","poseidon-mongo":"0.0.7","check-types":"~1.1.1","q":"~0.9.7","semver":"~2.2.1","mongodb":"~1.3.23","marked":"~0.3.0"},"devDependencies":{"nodemon":"~0.7.10","gt":"~0.8.21","pre-git":"0.0.14"},"readme":"# next-update-stats\n\nSmall server keeping package upgrade version statistics\n\nIn essense it keeps anonymous stats when upgrading public packages.\n\nUpgrading [lodash](https://npmjs.org/package/lodash)\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\n\nAllows you to judge how likely a successful update for your\nproject would be.\n\n## Development\n\nSet environment variables to whatever MongoDB expects\n\n```\nexport STATS_DB_USERNAME=username\nexport STATS_DB_PASSWORD=password\n```\n\nStart server `npm start`\n\nPost an update `curl -X POST http://localhost:3000/update` (should fail)\n\ninside folder *test-e2e* there are a few JSON files, you can try\n\n```\ncurl -X POST http://localhost:3000/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\nYou can test deployed Heroku app\n\n```\ncurl -X POST http://next-update.herokuapp.com/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\n## Fetching information\n\n```\ncurl -i http://localhost:3000/package/lodash/1.0.0/2.0.0\ncurl -i http://localhost:3000/package/lodash\n```\n","readmeFilename":"README.md","_id":"next-update-stats@0.0.4","dist":{"shasum":"3f3c8aa427bd10ec2c25ef7d050422177d875902","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.0.4.tgz","integrity":"sha512-nk4urb3P9WkT6Y1qpe6z+uPJJqUTU5VUFFlSnTw/cXd5SnCc5GJPGJzXs5UHz+19kc3hnVL02pmkRpyapCajZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICn2kMEci2Hbli4pTv9zfT6Apo3l4nTpXWXP4EXPMdxHAiAfYvyNETu5J9CDXswtM843xBJgm/yiwMuqULZONEN5/w=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.0.5":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","version":"0.0.5","keywords":["npm","node","package","version","upgrade","statistics"],"private":false,"repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"bugs":{"url":"https://github.com/bahmutov/next-update-stats/issues"},"scripts":{"start":"node ./node_modules/nodemon/nodemon.js app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"1.0.0","poseidon-mongo":"0.0.7","check-types":"~1.1.1","q":"~0.9.7","semver":"~2.2.1","mongodb":"~1.3.23","marked":"~0.3.0"},"devDependencies":{"nodemon":"~0.7.10","gt":"~0.8.21","pre-git":"0.0.14"},"readme":"# next-update-stats\n\nSmall server keeping package upgrade version statistics\n\nIn essense it keeps anonymous stats when upgrading public packages.\n\nUpgrading [lodash](https://npmjs.org/package/lodash)\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\n\nAllows you to judge how likely a successful update for your\nproject would be.\n\n## Development\n\nSet environment variables to whatever MongoDB expects\n\n```\nexport STATS_DB_USERNAME=username\nexport STATS_DB_PASSWORD=password\n```\n\nStart server `npm start`\n\nPost an update `curl -X POST http://localhost:3000/update` (should fail)\n\ninside folder *test-e2e* there are a few JSON files, you can try\n\n```\ncurl -X POST http://localhost:3000/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\nYou can test deployed Heroku app\n\n```\ncurl -X POST http://next-update.herokuapp.com/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\n## Fetching information\n\n```\ncurl -i http://localhost:3000/package/lodash/1.0.0/2.0.0\ncurl -i http://localhost:3000/package/lodash\n```\n","readmeFilename":"README.md","_id":"next-update-stats@0.0.5","dist":{"shasum":"74cd0b6747009b65a20faabc3afd0c8f1bcf3de7","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.0.5.tgz","integrity":"sha512-YiurJZ8WGI1y1AnNrdTOsf4/TMOvZl4vhLsgOhE/lmXP04+0TxwwGmMswWSMhO3Rpg2Dt/xP6AHZCRKWlBj3vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0LjJJupFq5QIiD8RDGexEJBI23g/N3CSHZdXFBFZRMAiAsLgu5eDlkh8S2Lwx4KsCAAtX82ZaC/B8IGz7zjmkALw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.1.0":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","version":"0.1.0","keywords":["npm","node","package","version","upgrade","statistics"],"private":false,"repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"bugs":{"url":"https://github.com/bahmutov/next-update-stats/issues"},"scripts":{"start":"node ./node_modules/nodemon/nodemon.js app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"1.0.0","poseidon-mongo":"0.0.7","check-types":"~1.1.1","q":"~0.9.7","semver":"~2.2.1","mongodb":"~1.3.23","marked":"~0.3.0"},"devDependencies":{"nodemon":"~0.7.10","gt":"~0.8.21","pre-git":"0.0.14"},"readme":"# next-update-stats\n\nSmall server keeping package upgrade version statistics\n\nIn essense it keeps anonymous stats when upgrading public packages.\n\nUpgrading [lodash](https://npmjs.org/package/lodash)\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\n\nAllows you to judge how likely a successful update for your\nproject would be.\n\n## Development\n\nSet environment variables to whatever MongoDB expects\n\n```\nexport STATS_DB_USERNAME=username\nexport STATS_DB_PASSWORD=password\n```\n\nStart server `npm start`\n\nPost an update `curl -X POST http://localhost:3000/update` (should fail)\n\ninside folder *test-e2e* there are a few JSON files, you can try\n\n```\ncurl -X POST http://localhost:3000/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\nYou can test deployed Heroku app\n\n```\ncurl -X POST http://next-update.herokuapp.com/update -i -H \"Content-Type: application/json\" -d @failed-update.json\n```\n\n## Fetching information\n\n```\ncurl -i http://localhost:3000/package/lodash/1.0.0/2.0.0\ncurl -i http://localhost:3000/package/lodash\n```\n\n## Small print\n\nAuthor: Gleb Bahmutov &copy; 2013\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](http://glebbahmutov.com)\n* [blog](http://bahmutov.calepin.co/)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, click *endorse*, etc.\n\nSupport: if you find any problems with this module, email / tweet / open issue on Github\n","readmeFilename":"README.md","_id":"next-update-stats@0.1.0","dist":{"shasum":"e968489e45587f2948ee0f109c21815b874c16b7","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.1.0.tgz","integrity":"sha512-GjzvHjzv/sDvR3iiHBEqQU9BVW5wwE+wjjknnw2tBDWS012T+nicVgEo1H3n02ILhUw11pTK4rGpj6lYFxVqxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhkX80fIQLRTU1Fh7VA7sEQm27xQIBcrlAOAf/sbbIJAiEA0aBzk9Tt+qHBsVgpxgRl9oaOfe567NOkPKgwgCX3Ang="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.1.1":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","version":"0.1.1","keywords":["npm","node","package","version","upgrade","statistics"],"private":false,"repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"bugs":{"url":"https://github.com/bahmutov/next-update-stats/issues"},"scripts":{"start":"node ./node_modules/nodemon/bin/nodemon.js app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"~1.1.4","poseidon-mongo":"0.0.8","check-types":"~1.1.1","q":"~1.0.0","semver":"~2.2.1","mongodb":"~1.4.0-rc4","marked":"~0.3.0"},"devDependencies":{"nodemon":"~1.0.8","gt":"~0.8.22","pre-git":"0.0.14"},"readme":"# next-update-stats\r\n\r\nSmall server keeping package upgrade version statistics to be used\r\nas stand alone information, or with automatic update tool\r\n[next-update](https://github.com/bahmutov/next-update)\r\n\r\nIn essense it keeps anonymous stats when upgrading public packages:\r\n\r\n> Upgrading [lodash](https://npmjs.org/package/lodash)\r\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\r\n\r\nAllows you to judge how likely a successful update for your\r\nproject would be. When looking at the entire NPM universe,\r\nonly 25% of modules have working unit tests\r\n(see [http://npmt.abru.pt/](http://npmt.abru.pt/)), and the rest\r\neither have no tests, or failing ones. This project tries to\r\nincrease this number by making unit tests highly useful.\r\n\r\n## Development\r\n\r\nSet environment variables to whatever MongoDB expects\r\n\r\n```\r\nexport STATS_DB_USERNAME=username\r\nexport STATS_DB_PASSWORD=password\r\n```\r\n\r\nStart server `npm start`\r\n\r\nPost an update `curl -X POST http://localhost:3000/update` (should fail)\r\n\r\ninside folder *test-e2e* there are a few JSON files, you can try\r\n\r\n```\r\ncurl -X POST http://localhost:3000/update -i -H \"Content-Type: application/json\" -d @failed-update.json\r\n```\r\n\r\nYou can test deployed Heroku app\r\n\r\n```\r\ncurl -X POST http://next-update.herokuapp.com/update -i -H \"Content-Type: application/json\" -d @failed-update.json\r\n```\r\n\r\n## Fetching information\r\n\r\n```\r\ncurl -i http://localhost:3000/package/lodash/1.0.0/2.0.0\r\ncurl -i http://localhost:3000/package/lodash\r\n```\r\n\r\n## Small print\r\n\r\nAuthor: Gleb Bahmutov &copy; 2013\r\n\r\n* [@bahmutov](https://twitter.com/bahmutov)\r\n* [glebbahmutov.com](http://glebbahmutov.com)\r\n* [blog](http://bahmutov.calepin.co/)\r\n\r\nLicense: [MIT](LICENSE-MIT) - do anything with the code, but don't blame me if it does not work.\r\n\r\nSpread the word: tweet, star on github, click *endorse*, etc.\r\n\r\nSupport: if you find any problems with this module, email / tweet / open issue on Github\r\n","readmeFilename":"README.md","_id":"next-update-stats@0.1.1","dist":{"shasum":"bf18ec737d9f9737e44f943be8de01e845175eb2","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.1.1.tgz","integrity":"sha512-Rl/TGnprner2LrNB2xL8jlWhkJkdisEbEKbBsKb8t9tVVW0jnPW7mJHtvzx042B+oXkhqBALG9yfavtx9vqW2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM+9f/aU8nIkuDzitheWEKWAyF3S5O+Yz5obuArwmqnwIgO1+kn6jt+t3mjzy+2abtqTlHG/4+T1x2WAatqkx6VQU="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.1.2":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","version":"0.1.2","keywords":["npm","node","package","version","upgrade","statistics"],"private":false,"repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"bugs":{"url":"https://github.com/bahmutov/next-update-stats/issues"},"scripts":{"start":"node ./node_modules/nodemon/bin/nodemon.js --ignore public/ app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"~1.1.4","poseidon-mongo":"0.0.8","check-types":"~1.1.1","q":"~1.0.0","semver":"~2.2.1","mongodb":"~1.4.0-rc4","marked":"~0.3.0"},"devDependencies":{"nodemon":"~1.0.8","gt":"~0.8.22","pre-git":"0.0.14"},"readme":"# next-update-stats\r\n\r\nSmall server keeping package upgrade version statistics to be used\r\nas stand alone information, or with automatic update tool\r\n[next-update](https://github.com/bahmutov/next-update)\r\n\r\nIn essense it keeps anonymous stats when upgrading public packages:\r\n\r\n> Upgrading [lodash](https://npmjs.org/package/lodash)\r\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\r\n\r\nAllows you to judge how likely a successful update for your\r\nproject would be. When looking at the entire NPM universe,\r\nonly 25% of modules have working unit tests\r\n(see [http://npmt.abru.pt/](http://npmt.abru.pt/)), and the rest\r\neither have no tests, or failing ones. This project tries to\r\nincrease this number by making unit tests highly useful.\r\n\r\n## Development\r\n\r\nSet environment variables to whatever MongoDB expects\r\n\r\n```\r\nexport STATS_DB_USERNAME=username\r\nexport STATS_DB_PASSWORD=password\r\n```\r\n\r\nStart server `npm start`\r\n\r\nPost an update `curl -X POST http://localhost:3000/update` (should fail)\r\n\r\ninside folder *test-e2e* there are a few JSON files, you can try\r\n\r\n```\r\ncurl -X POST http://localhost:3000/update -i -H \"Content-Type: application/json\" -d @failed-update.json\r\n```\r\n\r\nYou can test deployed Heroku app\r\n\r\n```\r\ncurl -X POST http://next-update.herokuapp.com/update -i -H \"Content-Type: application/json\" -d @failed-update.json\r\n```\r\n\r\n## Fetching information\r\n\r\n```\r\ncurl -i http://localhost:3000/package/lodash/1.0.0/2.0.0\r\ncurl -i http://localhost:3000/package/lodash\r\n```\r\n\r\n## Small print\r\n\r\nAuthor: Gleb Bahmutov &copy; 2013\r\n\r\n* [@bahmutov](https://twitter.com/bahmutov)\r\n* [glebbahmutov.com](http://glebbahmutov.com)\r\n* [blog](http://bahmutov.calepin.co/)\r\n\r\nLicense: [MIT](LICENSE-MIT) - do anything with the code, but don't blame me if it does not work.\r\n\r\nSpread the word: tweet, star on github, click *endorse*, etc.\r\n\r\nSupport: if you find any problems with this module, email / tweet / open issue on Github\r\n","readmeFilename":"README.md","_id":"next-update-stats@0.1.2","dist":{"shasum":"36aea5724c48b79431023945b099a1f03951d289","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.1.2.tgz","integrity":"sha512-czmTZxOk22FMfRSXfBRU4zOK0ZSZtfUdz+clGVDBzWg59x8xINs4b/GjkjfY4bnla9VsU27yOtvKEqRGFJyhmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTh6h5jGaRBTD3vsStbrk1pT7gDchKyvsNcUevnKwURgIgIxNls0IQWsAjn01SqmlFZ2c9xARcripv6xXs1+/p0Yg="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.1.3":{"name":"next-update-stats","description":"Collects anonymous nodejs module version upgrade statistics","version":"0.1.3","keywords":["npm","node","package","version","upgrade","statistics"],"private":false,"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"bugs":{"url":"https://github.com/bahmutov/next-update-stats/issues"},"scripts":{"start":"node ./node_modules/nodemon/bin/nodemon.js --ignore public/ app.js","test":"node ./node_modules/gt ./db/**/test/*.js ./routes/**/test/*.js --output"},"pre-commit":"npm test","dependencies":{"express":"3.4.7","jade":"~1.1.4","poseidon-mongo":"0.0.8","check-types":"~1.1.1","q":"~1.0.0","semver":"~2.2.1","mongodb":"~1.4.0-rc4","marked":"~0.3.0"},"devDependencies":{"nodemon":"~1.0.8","gt":"~0.8.22","pre-git":"0.0.14","grunt-readme":"~0.4.5","time-grunt":"~0.2.8","grunt":"~0.4.2","grunt-contrib-jshint":"~0.8.0","grunt-complexity":"~0.1.4","jshint-stylish":"~0.1.5","matchdep":"~0.3.0","grunt-deps-ok":"~0.1.7","grunt-nice-package":"~0.1.5","grunt-jsonlint":"~1.0.4","grunt-jshint-solid":"0.0.1","grunt-bump":"0.0.13"},"readme":"# next-update-stats v0.1.3\r\n\r\n> Collects anonymous nodejs module version upgrade statistics\r\n\r\n[![NPM][next-update-stats-icon] ][next-update-stats-url]\r\n\r\n[![Build status][next-update-stats-ci-image] ][next-update-stats-ci-url]\r\n[![dependencies][next-update-stats-dependencies-image] ][next-update-stats-dependencies-url]\r\n[![devdependencies][next-update-stats-devdependencies-image] ][next-update-stats-devdependencies-url]\r\n\r\n[next-update-stats-icon]: https://nodei.co/npm/next-update-stats.png?downloads=true\r\n[next-update-stats-url]: https://npmjs.org/package/next-update-stats\r\n[next-update-stats-ci-image]: https://travis-ci.org/bahmutov/next-update-stats.png?branch=master\r\n[next-update-stats-ci-url]: https://travis-ci.org/bahmutov/next-update-stats\r\n[next-update-stats-dependencies-image]: https://david-dm.org/bahmutov/next-update-stats.png\r\n[next-update-stats-dependencies-url]: https://david-dm.org/bahmutov/next-update-stats\r\n[next-update-stats-devdependencies-image]: https://david-dm.org/bahmutov/next-update-stats/dev-status.png\r\n[next-update-stats-devdependencies-url]: https://david-dm.org/bahmutov/next-update-stats#info=devDependencies\r\n\r\n\r\n\r\nSmall server keeping package upgrade version statistics to be used\r\nas stand alone information, or with automatic update tool\r\n[next-update](https://github.com/bahmutov/next-update)\r\n\r\nIn essense it keeps anonymous stats when upgrading public packages:\r\n\r\n> Upgrading [lodash](https://npmjs.org/package/lodash)\r\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\r\n\r\nAllows you to judge how likely a successful update for your\r\nproject would be. When looking at the entire NPM universe,\r\nonly 25% of modules have working unit tests\r\n(see [http://npmt.abru.pt/](http://npmt.abru.pt/)), and the rest\r\neither have no tests, or failing ones. This project tries to\r\nincrease this number by making unit tests highly useful.\r\n\r\n\r\n\r\n### Small print\r\n\r\nAuthor: Gleb Bahmutov &copy; 2014\r\n\r\n* [@bahmutov](https://twitter.com/bahmutov)\r\n* [glebbahmutov.com](http://glebbahmutov.com)\r\n* [blog](http://bahmutov.calepin.co/)\r\n\r\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\r\n\r\nSpread the word: tweet, star on github, etc.\r\n\r\nSupport: if you find any problems with this module, email / tweet /\r\n[open issue](https://github.com/bahmutov/next-update-stats/issues) on Github\r\n\r\n\r\n\r\n## MIT License\r\n\r\nCopyright (c) 2013 Gleb Bahmutov\r\n\r\nPermission is hereby granted, free of charge, to any person\r\nobtaining a copy of this software and associated documentation\r\nfiles (the \"Software\"), to deal in the Software without\r\nrestriction, including without limitation the rights to use,\r\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the\r\nSoftware is furnished to do so, subject to the following\r\nconditions:\r\n\r\nThe above copyright notice and this permission notice shall be\r\nincluded in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\r\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\r\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\r\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\r\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\r\nOTHER DEALINGS IN THE SOFTWARE.\r\n\r\n\r\n","readmeFilename":"README.md","_id":"next-update-stats@0.1.3","dist":{"shasum":"131f3237e6a59c143d85034918cffc754a91dbd8","tarball":"https://registry.npmjs.org/next-update-stats/-/next-update-stats-0.1.3.tgz","integrity":"sha512-gArHpp5SqBPbGhspC/ENNQ/BTCYh1AJyGwdthdPiM6o2zl55owcBHvjk/lStQHpiQGIXwWqHuSvCRSaCCWobGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvtkjgihxd80chj7E7WcIPB61TnJxo5SgXLM4qedkmeAIhANPfFGRJEiC5R/V/KNhAaFwL2Gvh/KSmr2/XFo+MneD3"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]}},"readme":"# next-update-stats\n\nSmall server keeping package upgrade version statistics\n\nIn essense it keeps anonymous stats when upgrading public packages.\n\nUpgrading [lodash](https://npmjs.org/package/lodash)\nfrom 1.0.0 to 2.0.0 breaks 200 times, is successful 300 times.\n\nAllows you to judge how likely a successful update for your\nproject would be.\n\n## Development\n\nSet environment variables to whatever MongoDB expects\n\n```\nexport STATS_DB_USERNAME=username\nexport STATS_DB_PASSWORD=password\n```\n\nStart server `npm start`\n\nPost an update `curl -X POST http://localhost:3000/update`\n","maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"time":{"modified":"2022-06-21T02:34:03.539Z","created":"2013-12-24T04:36:25.634Z","0.0.1":"2013-12-24T04:36:27.120Z","0.0.2":"2013-12-24T04:50:36.129Z","0.0.3":"2013-12-25T15:19:09.827Z","0.0.4":"2013-12-25T18:48:19.453Z","0.0.5":"2013-12-29T20:34:45.297Z","0.1.0":"2013-12-30T04:53:30.723Z","0.1.1":"2014-01-13T04:57:33.286Z","0.1.2":"2014-01-13T16:19:33.256Z","0.1.3":"2014-01-16T17:40:41.748Z"},"repository":{"type":"git","url":"git@github.com:bahmutov/next-update-stats.git"},"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"}}