{"_id":"mio-ajax","_rev":"43-f3cf680f7bb46f7195b33628248e4bd6","name":"mio-ajax","description":"AJAX storage plugin for Mio.","dist-tags":{"latest":"0.10.0"},"versions":{"0.2.0":{"name":"mio-ajax","version":"0.2.0","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"keywords":["mio","sync","plugin","store","ajax"],"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"mio":"~0.1.x","extend":"~1.2.1","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"prepublish":"./node_modules/jscoverage/bin/jscoverage lib lib-cov","test":"node ./lib/test-runner.js"},"license":"MIT","dependencies":{"superagent":"~0.15.7"},"bugs":{"url":"https://github.com/mio/ajax/issues"},"_id":"mio-ajax@0.2.0","dist":{"shasum":"f0b21d7fae1c936549bb240e7ab91483e015dc25","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.2.0.tgz","integrity":"sha512-GUAg3FNnmBAYSZUcdXcXN8kidKF42Ikijr7bTsBLDkzB6PVsWeAsckkHVHWBCguu+aE5pMZizGohpa0qvzQcPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9YaXylq7/cehDFXwa7qUBICSd1rjNidT62qErZsP6HgIhAJOFGdIcAUutbvJ1IZEqTViCvehzgUtGoYSJJ0t2OF4y"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.2.1":{"name":"mio-ajax","version":"0.2.1","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"keywords":["mio","sync","plugin","store","ajax"],"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"mio":"~0.1.x","extend":"~1.2.1","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"prepublish":"./node_modules/jscoverage/bin/jscoverage lib lib-cov","test":"node ./lib/test-runner.js"},"license":"MIT","dependencies":{"superagent":"~0.15.7"},"bugs":{"url":"https://github.com/mio/ajax/issues"},"_id":"mio-ajax@0.2.1","dist":{"shasum":"1cddd92be4904d0eb513bb48d743f3b6051d8949","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.2.1.tgz","integrity":"sha512-OOeayUY34pxLLs8d0p+iaB0YDeYebVl8Lycjawi2ZuZlJeLgI+DOMJAmXfeO2IttaVW/nIPzZuusQgvNsl99tA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtlKUEOmdSjniYnNgzkazALS9YIil33RcZojm4AFEHRAiEAskXajGNe5SbM00QkAsxoFdIMPweEW2rpFE+UXEq/rhA="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.3.0":{"name":"mio-ajax","version":"0.3.0","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"superagent":"~0.15.7","querystring":"git://github.com/visionmedia/node-querystring.git#0.6.6","mio":"~0.3.x","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"prepublish":"./node_modules/jscoverage/bin/jscoverage lib lib-cov","test":"node ./lib/test-runner.js"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"_id":"mio-ajax@0.3.0","dist":{"shasum":"f18eeab621f76b75e60ef572bd98a4388f7aeeb4","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.3.0.tgz","integrity":"sha512-mSGoUk4BnwFAh3mAo6bT+iL0JVIRFo/NpClSGmIpKXpxmHIaR5vfwVE3xk+Euk5wH4B3LxVmZzcyuTgTQ9jMsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGKsgjAPX0Wn80uRJb7EyxE75XRK6Ch4UCogyv97K2QwIhALs2464kc4eys8ydiqU8hbkW0w7FXk4R6c9ex4BEEY66"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.5.0":{"name":"mio-ajax","version":"0.5.0","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"superagent":"~0.15.7","querystring":"git://github.com/visionmedia/node-querystring.git#0.6.6","mio":"~0.3.x","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"prepublish":"./node_modules/jscoverage/bin/jscoverage lib lib-cov","test":"node ./lib/test-runner.js"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"_id":"mio-ajax@0.5.0","dist":{"shasum":"a858982590ee636624f564b6e6b72aa7ea2ec343","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.5.0.tgz","integrity":"sha512-gzF/X2KgYwm/FLBZnndITzIVUYQ6nRuc/sRr2ghGR0+EHThDeaQuxktFvc5hb0jaVmJ8XUKHaxr/5bwKMXRG6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG9pwWacD9KRKt7II3LSvPpLEFfEH+XVeHc6SHbh1M47AiButFeQjO/AyHhKzWoqr/mbkLM+mCMA9FQvJcJ0V8U5Yg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.5.1":{"name":"mio-ajax","version":"0.5.1","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"superagent":"~0.15.7","querystring":"git://github.com/visionmedia/node-querystring.git#0.6.6","mio":"~0.5.x","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"prepublish":"./node_modules/jscoverage/bin/jscoverage lib lib-cov","test":"node ./lib/test-runner.js"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"_id":"mio-ajax@0.5.1","dist":{"shasum":"f431fb76f384a38854a4e6cac1957f6afe5da2de","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.5.1.tgz","integrity":"sha512-xCyXgyGUu996zmmEKoFErEa2s6MQv17uWIeuadc1sJnhcH45xtdwgWE0ehfq8AwsBBQmP4WOIe6+kdvNxOoR0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTFopKVRUYuHOc36DjkDjEu6XB2jyuodsu2mkhx334IQIgFSbMY8/IqR0PLYCfEQTPHquEG4AO8UyXy/KN3UpMPHo="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.5.2":{"name":"mio-ajax","version":"0.5.2","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"superagent":"~0.15.7","querystring":"git://github.com/visionmedia/node-querystring.git#0.6.6","mio":"~0.5.x","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"prepublish":"./node_modules/jscoverage/bin/jscoverage lib lib-cov","test":"node ./lib/test-runner.js"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"_id":"mio-ajax@0.5.2","dist":{"shasum":"72f4e135fd9b805e4ba0c399d00ffc9b9c733e8c","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.5.2.tgz","integrity":"sha512-WTYX1vyGtb62l6u7WCFMtaP/wtriJloznQpQd71a/U72tc1E1aJ+dEe57CqZcFnXzJg3FEH5e/mKPJc+lwCFbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQOi0N5PqzL/oDGOQyNMDZGwITcTcsXzhYZUXi2laQAAiEAuBRbx2cMDv0qV4/T0acBH7d4xalHDYI79qfHfTU9/Zc="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.5.3":{"name":"mio-ajax","version":"0.5.3","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"superagent":"~0.15.7","querystring":"git://github.com/visionmedia/node-querystring.git#0.6.6","mio":"~0.5.x","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"prepublish":"./node_modules/jscoverage/bin/jscoverage lib lib-cov","test":"node ./lib/test-runner.js"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.5.3","dist":{"shasum":"acb3829f6acc4f2f9a4e26ac23079a991cd3e7ba","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.5.3.tgz","integrity":"sha512-pqA+9tOmtfEBgXjpGqlaJwV+H5Uh9dzkwm+zLmGtmY0zgD1ybU8Vh3pR/WK8BsJS5WggN0ilp5Ivn3f9Zw/JNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk5kW6q/tPaWncl9JMaL295GNF9St6JecwmTRBv9i6SwIhANZAVP/gaMMxXKvm6Vk2UEtzc6v4K/NoCY1wYrD+ABst"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.7.0":{"name":"mio-ajax","version":"0.7.0","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","devDependencies":{"superagent":"~0.15.7","querystring":"git://github.com/visionmedia/node-querystring.git#0.6.6","mio":"~0.7.x","expect.js":"~0.2.0","component":"~0.18.0","mocha":"~1.15.1","mocha-lcov-reporter":"0.0.1","jscoverage":"~0.3.8","coveralls":"~2.6.0"},"scripts":{"coverage":"./node_modules/jscoverage/bin/jscoverage lib lib-cov && JSCOV=1 ./node_modules/mocha/bin/mocha test --recursive --reporter html-cov > coverage.html","test":"./node_modules/mocha/bin/mocha --recursive --reporter spec"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.0","dist":{"shasum":"cef0bc8e2fca98e874ce6ecf20573c08e6f2aa88","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.0.tgz","integrity":"sha512-C4Gf/6gIT9koo9uptk0B9cvw6NlPxtgCsAfUtpS/UXItodXbQpAYZ/ThsAGLugQU95DSAXEFmbcczendLfVtKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0nycsu0IiTUrMcpSLSy2zdm8Oel0C+opZQbcTr7CpxQIhAPxjEt5nMwHQKsPjXcUNiANJu1W/FRo+Yrr3Jvtf9EMQ"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.7.1":{"name":"mio-ajax","version":"0.7.1","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"superagent":"~0.15.7","qs":"^0.6.6"},"devDependencies":{"mio":"~0.7.x","expect.js":"~0.2.0","gulp":"^3.6.1","mocha-lcov-reporter":"0.0.1","mocha":"^1.18.2","vinyl-source-stream":"^0.1.1","gulp-coveralls":"^0.1.2","gulp-clean":"^0.2.4","gulp-instrument":"^0.1.0"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","prepublish":"./node_modules/gulp/bin/gulp.js coveralls","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.1","dist":{"shasum":"694c33521db9eea0d9140c89956a4a53959d1dae","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.1.tgz","integrity":"sha512-ES4gzcgnDBQMm9vB5uq33DKwMMjZReDvj570OMW3SoK/K3/Z0JPuKokUA+v4DykOBnuuHORMeruQAk61bgMiNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH7asUEAgXhLXnlob0cqeOlRJFrdU1AXbsiDrnK6i4LGAiAWXVu/8MM5tgx/Nt+NDsCVraJyyuEkAhq+70BIFE+inQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.7.2":{"name":"mio-ajax","version":"0.7.2","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"superagent":"~0.15.7","qs":"^0.6.6"},"devDependencies":{"mio":"~0.7.x","expect.js":"~0.2.0","gulp":"^3.6.1","mocha":"^1.18.2","vinyl-source-stream":"^0.1.1","gulp-coveralls":"^0.1.2","gulp-clean":"^0.2.4","gulp-instrument":"^0.1.0","mocha-lcov-reporter":"0.0.1","vinyl-buffer":"0.0.0"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.2","dist":{"shasum":"310a44450c17a76000f821d1b9dd38b5eca6bbad","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.2.tgz","integrity":"sha512-WMrqcAYAk2M5x58ApoQFw4dPHFUr7VsosMsueg4ehSIyq/Lk3hZZf/PYV97LLCl2wnAXok8vJ5XiIUwhnqMHaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8bSFoiEpCWPw6rqpSl/4Tf5yN+cAEeR6LPGKoDo1MtAIgFHNB6XV2pr5vzduWRo27Vq7FTKtYnxKDkXZaaOiKBe8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.7.3":{"name":"mio-ajax","version":"0.7.3","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"superagent":"^0.17.0","qs":"^0.6.6"},"devDependencies":{"mio":"~0.7.x","expect.js":"~0.2.0","gulp":"^3.6.1","mocha":"^1.18.2","vinyl-source-stream":"^0.1.1","gulp-coveralls":"^0.1.2","gulp-clean":"^0.2.4","gulp-instrument":"^0.1.0","mocha-lcov-reporter":"0.0.1","vinyl-buffer":"0.0.0"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.3","dist":{"shasum":"62e0a7109b9e9ea3c02fcff0d5a06824ad3a2122","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.3.tgz","integrity":"sha512-NOIHy08ufBcauLfZ9Yz4ppdDAAx7ocTNK5Gl5MvPJ7uJreiRFbmfuiuRBqtlmRl65ghy+KPa3X8RvKFgFd1FZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLhwlrmumVJx4wAuQdqjv39VKsJQlJ151aLacI0TltcAiEAwOzyZIgvgjXztXPIcGEMk0MgJnVKymdiVqyRYZZ5OJQ="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}]},"0.7.4":{"name":"mio-ajax","version":"0.7.4","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"mio":"^0.7.6","superagent":"^0.18.0","qs":"^0.6.6"},"devDependencies":{"expect.js":"~0.2.0","gulp":"^3.6.1","mocha":"^1.18.2","vinyl-source-stream":"^0.1.1","gulp-coveralls":"^0.1.2","gulp-clean":"^0.2.4","gulp-instrument":"^0.1.0","mocha-lcov-reporter":"0.0.1","vinyl-buffer":"0.0.0"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","gitHead":"3d8f09c1edf144171f207976be393c6d75e52ccf","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.4","_shasum":"45c08012193f365115a5ded68eb6df4ba5d6e277","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"45c08012193f365115a5ded68eb6df4ba5d6e277","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.4.tgz","integrity":"sha512-ozrB5j6QmKxD4iDLmBkU43emDDneEHDWt5tnavmGicI5puyfvE8wKMOQYPB4WCqATxjiG1EmxoOpAgcjn8otXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcu/Um1SqfeyckBgCcNLERAqjz9M8r0xXee23qUqIwCwIgV8TR8BU7JCWvyfYwVcFK5W4G8pWsS2ApBTypERyzG+k="}]}},"0.7.5":{"name":"mio-ajax","version":"0.7.5","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"mio":"^0.7.6","superagent":"^0.18.0","qs":"^0.6.6"},"devDependencies":{"browserify":"^5.9.3","expect.js":"~0.2.0","gulp":"^3.6.1","gulp-clean":"^0.2.4","gulp-coveralls":"^0.1.2","gulp-instrument":"^0.1.0","mocha":"^1.18.2","mocha-lcov-reporter":"0.0.1","vinyl-buffer":"0.0.0","vinyl-source-stream":"^0.1.1"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","gitHead":"b6e16fc446de788862f308c200d7bd58342f606a","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.5","_shasum":"a16f269359e6cf1632539d310b4be7d12e16ff40","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"a16f269359e6cf1632539d310b4be7d12e16ff40","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.5.tgz","integrity":"sha512-tTt0P31woP/klLOu8rl5yZsazFJ5WcZQrLChYjShAZ2evHPKz7d79ivm1PgVYloiV7ahofpCZeoNug5G0mr/6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL3tZJpgtBeijmaLnNAXiffe1DN+y4RXYyNsgnBxoVaQIgHI2Dj9UOTlH2YSNWWymaJDPh8OB9+XOTk9Qk1AAYxUA="}]}},"0.7.6":{"name":"mio-ajax","version":"0.7.6","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"mio":"^0.7.6","superagent":"^0.18.0","qs":"^1.2.1"},"devDependencies":{"browserify":"^5.9.3","expect.js":"~0.2.0","gulp":"^3.6.1","gulp-clean":"^0.2.4","gulp-coveralls":"^0.1.2","gulp-instrument":"^0.1.0","mocha":"^1.18.2","mocha-lcov-reporter":"0.0.1","vinyl-buffer":"0.0.0","vinyl-source-stream":"^0.1.1"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","gitHead":"e1e0706aa0512eb5356f7e2ba78684419f25a3ba","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.6","_shasum":"5247b9913b1b622bc2719c3445075bfb6713768a","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"5247b9913b1b622bc2719c3445075bfb6713768a","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.6.tgz","integrity":"sha512-8LQzT2oIK1xY0xSJWjtBPqjU6aWTvPtuoLjip+ZX/XSwHRRO5Jz1BHpSWBOlX88fW1GbL8ay4KncEmiKtayo6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmDDX2qwYMv1q3E7Bbck6BwW0K7+Ka2q9pb4zBK4IifQIhAI/VLRiFSCWeGSaE2aioaPTTgLiQbfWNiCuJ7HA5cHr4"}]}},"0.7.7":{"name":"mio-ajax","version":"0.7.7","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"mio":"^0.8.0","superagent":"^0.18.0","qs":"^1.2.1"},"devDependencies":{"browserify":"^5.9.3","expect.js":"^0.3.1","gulp":"^3.6.1","gulp-clean":"^0.3.1","gulp-coveralls":"^0.1.2","gulp-instrument":"^0.1.0","mocha":"^1.18.2","mocha-lcov-reporter":"0.0.1","vinyl-buffer":"0.0.0","vinyl-source-stream":"^0.1.1"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","gitHead":"a605209b9f2345655880e966d4654b2116c00670","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.7.7","_shasum":"40105c13053a2450fe7a7b2acaf27df4c98570a3","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"40105c13053a2450fe7a7b2acaf27df4c98570a3","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.7.7.tgz","integrity":"sha512-lSbig8kMJ0iztCE5wjoL6kozgwX0pBIvfJveO1JSLvCpwvEzRjiiU9lD2bV/jaCsHPzPqjYUSghJRzLleyzloQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy9LSg3NaJQRKGg5Pje3gEIKqhe1Hsg1wSSKgEz2wHhwIgQv76sO+eeMy6x/82H1KbrdZ+EzXoN/EMFpHWhmzi7Os="}]}},"0.8.0":{"name":"mio-ajax","version":"0.8.0","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"main":"./lib/ajax","dependencies":{"mio":"^0.9.0","superagent":"^0.18.0","qs":"^1.2.1"},"devDependencies":{"browserify":"^5.9.3","chai":"^1.9.1","gulp":"^3.6.1","gulp-clean":"^0.3.1","gulp-coveralls":"^0.1.2","gulp-instrument":"^0.1.0","gulp-jshint":"^1.8.4","gulp-mocha-phantomjs":"^0.5.0","gulp-rename":"^1.2.0","jshint-stylish":"^0.4.0","mocha-lcov-reporter":"0.0.1","phantomjs":"^1.9.7-15","vinyl-buffer":"0.0.0","vinyl-source-stream":"^0.1.1"},"scripts":{"coverage":"./node_modules/gulp/bin/gulp.js coverage","test":"./node_modules/gulp/bin/gulp.js test","clean":"./node_modules/gulp/bin/gulp.js clean"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","gitHead":"ec69e76ba031a8f2cb1411860d79e676b1bb5a85","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.8.0","_shasum":"0b1cc629f6276c6397ace14aaf1d0abb7b3f728d","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"0b1cc629f6276c6397ace14aaf1d0abb7b3f728d","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.8.0.tgz","integrity":"sha512-KPyY46aHeeg9SeLwmpdWjjOpwy9Q0ifFxYXzP94WAc6LtHtzJbb+y4gc1qBatQc051qd2YTNvJiSUGVR7LjGMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrz9soL1d69G5e8Zhj5XFCY+wp29phHmuQHlWfomIuqwIhAIFGA8DJI0sutrHmNPHuld8vaUnAWnpRXNJWRQuYhRZI"}]}},"0.9.0":{"name":"mio-ajax","version":"0.9.0","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"files":["dist","lib"],"main":"./lib/ajax","dependencies":{"mio":"^1.0.1","qs":"^2.3.3","superagent":"^0.21.0"},"devDependencies":{"browserify":"^7.0.0","chai":"^1.9.1","gulp":"^3.6.1","gulp-clean":"^0.3.1","gulp-coveralls":"^0.1.2","gulp-instrument":"^0.1.0","gulp-jshint":"^1.8.4","gulp-mocha-phantomjs":"^0.5.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","mocha-lcov-reporter":"0.0.1","phantomjs":"^1.9.7-15","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.0.0"},"scripts":{"test":"./node_modules/gulp/bin/gulp.js test"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","gitHead":"062e268960dc9d7c98db49704bea875ed7db1b6b","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.9.0","_shasum":"4d9facf46dbebbda3fb56e3a3d320275097736ab","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"4d9facf46dbebbda3fb56e3a3d320275097736ab","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.9.0.tgz","integrity":"sha512-2U0GJmXKmi5SnZZocbV27Z4yrIxfHgLbJIMsZQnElfkKSenbr42xXD6vHpF239eeE5ZY1eIgc3YInR7rNiUqrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVMdlrWGIYKh0Qj3MfqEePYED3QTQzCTOLgKPIbpUfYwIhANogVem1NZq/XqMxYeSphhX97Da6IYeJL4S7PTdrpdYm"}]}},"0.10.0":{"name":"mio-ajax","version":"0.10.0","description":"AJAX storage plugin for Mio.","author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"files":["dist","lib"],"main":"./lib/ajax","dependencies":{"mio":"^1.0.4","qs":"^2.3.3","superagent":"^0.21.0"},"devDependencies":{"browserify":"^8.1.0","chai":"^1.9.1","gulp":"^3.6.1","gulp-clean":"^0.3.1","gulp-coveralls":"^0.1.2","gulp-instrument":"^0.1.0","gulp-jshint":"^1.8.4","gulp-mocha-phantomjs":"^0.5.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","mocha-lcov-reporter":"0.0.1","phantomjs":"^1.9.7-15","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.0.0"},"scripts":{"test":"./node_modules/gulp/bin/gulp.js test"},"keywords":["mio","sync","plugin","store","ajax"],"license":"MIT","gitHead":"f656289bc6f3aa61bfab666a92a943a96e31fdf7","bugs":{"url":"https://github.com/mio/ajax/issues"},"homepage":"https://github.com/mio/ajax","_id":"mio-ajax@0.10.0","_shasum":"d00f6fc0cb724eb920107e40bf2fcd88c8570b99","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"amingoia","email":"talk@alexmingoia.com"},"maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"dist":{"shasum":"d00f6fc0cb724eb920107e40bf2fcd88c8570b99","tarball":"https://registry.npmjs.org/mio-ajax/-/mio-ajax-0.10.0.tgz","integrity":"sha512-ivuS64I3B98z1hQYVhxFno2geWDuGIoEtvz+vG/aads80RoS92AnyJCj0khE4KTButf3EjAvMEdcrrEsLhyWMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJxCqxiw/+r1BJqEscgogb1IzCD2ZAuJzlidwXDs8tIwIhAON4fprb/1sAqvs85+XeShtodbT1FuI/PDQYj+lxOBNr"}]}}},"readme":"# mio-ajax [![Build Status](https://img.shields.io/travis/mio/ajax.svg?style=flat)](http://travis-ci.org/mio/ajax) [![Coverage Status](https://img.shields.io/coveralls/mio/ajax.svg?style=flat)](https://coveralls.io/r/mio/ajax?branch=master) [![Bower version](https://img.shields.io/bower/v/mio-ajax.svg?style=flat)](http://badge.fury.io/bo/mio) [![NPM version](https://img.shields.io/npm/v/mio-ajax.svg?style=flat)](https://npmjs.org/package/mio-ajax) [![Dependency Status](https://img.shields.io/david/mio/ajax.svg?style=flat)](http://david-dm.org/mio/ajax)\n\nAJAX storage plugin for [Mio](https://github.com/mio/mio). Pair with\n[mio-express](https://github.com/mio/express) for automatic client-server\ncommunication.\n\n## Installation\n\nUsing [bower](http://bower.io/):\n\n```sh\nbower install mio-ajax\n```\n\nUsing browser script tag and global (UMD wrapper):\n\n```html\n// Available as window.mio.ajax\n<script src=\"dist/mio-ajax.js\"></script>\n```\n\n## Usage\n\n```javascript\nvar mio = require('mio');\nvar ajax = require('mio-ajax');\n\nvar User = mio.Resource.extend({\n  attributes: {\n    id: {\n      primary: true\n    },\n    username: {\n      required: true\n    }\n  }\n}, {\n  baseUrl: '/users'\n});\n\nUser.use(ajax());\n```\n\nThe example above would expect the following API:\n\n    GET      /users       // Return a JSON list of all users.\n    POST     /users       // Creates a new user. Returns JSON of that user.\n    DELETE   /users       // Destroys all users.\n    PATCH    /users       // Updates multiple users.\n    GET      /users/:id   // Return a JSON user object.\n    PUT      /users/:id   // Replaces existing user.\n    PATCH    /users/:id   // Updates existing user.\n    DELETE   /users/:id   // Destroys user.\n\n### options\n\n- patch `Boolean` use PATCH for `Resource#save` (default: true)\n- header `Object.<String:String>` map of request header fields to values\n\n## Defining Alternative Routes\n\nYou can specify alternative routes using `options.url.actions`:\n\n```javascript\nUser.browser(ajax({\n  baseUrl: '/users',\n  urls: {\n    get:    '/users/:username',\n    put:    '/users/:username',\n    delete: '/users/:username'\n  }\n});\n```\n\nThis would make it so that the following routes were used:\n\n    GET   /users/:username\n    PATCH /users/:username\n    DEL   /users/:username\n\n### Retrying requests\n\nYou can use the `retry` function passed to the `ajax error` event to retry\nrequests.\n\n```javascript\nUser.on('ajax:error', function(err, retry) {\n  if (err.status == 401) {\n    refreshAccessToken(function(token) {\n      setToken(token);\n      retry();\n    });\n  }\n});\n```\n\n### Events\n\n#### ajax:request\n\nEmitted before XHR request is sent.\n\n```javascript\nUser.on('ajax:request', function(req) {\n  // req is superagent request object\n  req.set('Authorization', 'Bearer 13a9-34b3-a8da-c78d');\n});\n```\n\n#### ajax:response\n\nEmitted after the XHR request is complete.\n\n```javascript\nUser.on('ajax:response', function(res) {\n  var users = res.body.results;\n  // Convert JSON string dates into actual dates\n  users.forEach(u) {\n     u.registeredAt = new Date(u.registeredAt);\n  }\n  res.body = users;\n});\n```\n\n#### ajax:error\n\nEmitted on XHR error and 4xx or 5xx responses, with an `Error` as the first\nargument and a `retry` function as the second argument.\n\nIf executed, the retry function will retry the request and execute the\noriginal callback once the request is complete. If a new callback is supplied to\n`retry()` then that will be used when the retried request completes.\n\n```javascript\nUser.on('ajax:error', function(err, retry) {\n  if (err.status == 401) {\n    refreshAccessToken(retry);\n  }\n});\n```\n\n## MIT Licensed\n","maintainers":[{"name":"amingoia","email":"talk@alexmingoia.com"}],"time":{"modified":"2022-06-19T22:01:06.884Z","created":"2013-12-16T05:29:28.353Z","0.2.0":"2013-12-16T05:29:33.915Z","0.2.1":"2013-12-17T01:58:08.823Z","0.3.0":"2013-12-23T06:30:17.239Z","0.5.0":"2014-01-01T02:58:29.093Z","0.5.1":"2014-01-07T22:15:31.649Z","0.5.2":"2014-01-09T20:37:10.216Z","0.5.3":"2014-04-07T21:43:39.829Z","0.7.0":"2014-04-21T05:27:37.146Z","0.7.1":"2014-04-22T07:40:34.316Z","0.7.2":"2014-04-27T20:59:43.439Z","0.7.3":"2014-04-27T21:00:45.906Z","0.7.4":"2014-06-24T23:37:09.251Z","0.7.5":"2014-08-12T17:56:44.554Z","0.7.6":"2014-08-15T00:45:42.886Z","0.7.7":"2014-08-15T21:50:47.336Z","0.8.0":"2014-08-24T06:11:02.899Z","0.9.0":"2014-12-15T07:16:23.362Z","1.0.0":"2015-01-12T22:50:58.752Z","0.10.0":"2015-01-12T22:54:14.094Z"},"author":{"name":"Alexander Mingoia"},"repository":{"type":"git","url":"git://github.com/mio/ajax.git"},"homepage":"https://github.com/mio/ajax","keywords":["mio","sync","plugin","store","ajax"],"bugs":{"url":"https://github.com/mio/ajax/issues"},"license":"MIT","readmeFilename":"README.md"}