{"_id":"kinto-client","_rev":"26-278cdd5f1898f9c7a62ef932c5b6f243","name":"kinto-client","description":"JavaScript HTTP client for the Kinto API.","dist-tags":{"latest":"0.9.2"},"versions":{"0.1.0":{"name":"kinto-client","version":"0.1.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoApi -d -e src/index.js -o dist/kinto-client-$npm_package_version.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client-$npm_package_version.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client-$npm_package_version.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run lint && npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel":"^6.3.26","babel-cli":"^6.4.5","babel-core":"^6.3.26","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.0","babel-loader":"^6.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.4.0","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babelify":"^7.2.0","browserify":"^13.0.0","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.6","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^1.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1"},"gitHead":"47e1e97283ba763ee2e75165dc7dd50cdc1bf362","_id":"kinto-client@0.1.0","_shasum":"f649c44936fd462d63c03c069940f2c32a2c3536","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"f649c44936fd462d63c03c069940f2c32a2c3536","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.1.0.tgz","integrity":"sha512-pksdBF4H5lYWu67cUZvi4EhsxWL1NK/qtKqmtBdhVvatdPAqr6nRCfRU03Sjb2W/QCuh4wI6hzlcMPuy5OBLsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBRX6ozhLavxIJ7RfEI0dxYrzCRV6gfsgOsr8vq83fWwAiAoYTJsJv4Ub+gf9PaTjoX+j7fkGDfU9EakLUNVpGCHtw=="}]},"maintainers":[{"name":"n1k0","email":"nicolas@perriault.net"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.1.0.tgz_1454943304371_0.9311477770097554"}},"0.1.1":{"name":"kinto-client","version":"0.1.1","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoApi -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run lint && npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel":"^6.3.26","babel-cli":"^6.4.5","babel-core":"^6.3.26","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.0","babel-loader":"^6.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.4.0","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babelify":"^7.2.0","browserify":"^13.0.0","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.6","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^1.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1"},"gitHead":"93abbd08533a57567602fc50bce3b9783976ceeb","_id":"kinto-client@0.1.1","_shasum":"8b14cec8fd5f4f0f395cca48d828f2706a691c6f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"8b14cec8fd5f4f0f395cca48d828f2706a691c6f","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.1.1.tgz","integrity":"sha512-vU8eP4K90Y3HXlR9RPmkwql+46x1y19DQ9ndPCohyg0sfi+a9TfnFIAIKEAp47w+g8bEtGvDx8uNuC6syKgv2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/0MxcvJ6ffCnnDii2kuXkTX+bLPjQbyaqa201AS/G7AiEA/i7pElkk2JcP0SLvf6nsWpGN8fF5ef3ZhQu8EFPcZ00="}]},"maintainers":[{"name":"n1k0","email":"nicolas@perriault.net"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.1.1.tgz_1454943744261_0.2544465030077845"}},"0.2.0":{"name":"kinto-client","version":"0.2.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoApi -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel":"^6.3.26","babel-cli":"^6.4.5","babel-core":"^6.3.26","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.0","babel-loader":"^6.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.4.0","babel-plugin-transform-object-rest-spread":"^6.5.0","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.6","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^1.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"489e6aa4821893a21ab76842b1589fdf84f61eb0","_id":"kinto-client@0.2.0","_shasum":"6984032e9625047395d6264a336e94344eb62225","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"6984032e9625047395d6264a336e94344eb62225","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.2.0.tgz","integrity":"sha512-lXbx4Six2aeFfh+ZP32QpjAGtiIGf8QUrk9rgF5jx8Yp4yLuiIIg7/74E1odiZbhOuf7y6rdzw0CNF09ec5s4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlqFaSMZ5BBXUfIFAXBbpnKJPx8nXm+/lpif9tn6wuLAIhAJOfIOtJyMs/0JxsjMKNowHPIOr3hKQ6Fe7RRGqGYZzg"}]},"maintainers":[{"name":"n1k0","email":"nicolas@perriault.net"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.2.0.tgz_1455805479814_0.23497642227448523"}},"0.2.1":{"name":"kinto-client","version":"0.2.1","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoApi -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel":"^6.3.26","babel-cli":"^6.4.5","babel-core":"^6.3.26","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.0","babel-loader":"^6.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.4.0","babel-plugin-transform-object-rest-spread":"^6.5.0","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.6","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^1.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"8d73fe63249d40c481f0ae7b22475302e28fb1aa","_id":"kinto-client@0.2.1","_shasum":"10233a65b8bc03e055761335a74629483f06c12d","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"10233a65b8bc03e055761335a74629483f06c12d","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.2.1.tgz","integrity":"sha512-QgxJlxtiRmr50OwaW2q0UHXdHceFRO7ZRuD72ZKvAT+Rr/ng9v0dRoQNmqSyoO849tGIAihsvR+/eQJD7xAL3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDUNlgegurffJPFsRetfT9MtbOXgjtJ8KVKygkyuaDdAiBQPmpwpK0C9nss3mwxuc/g/cO+Qe4ChTrT5ekmD9Mllw=="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.2.1.tgz_1455809792656_0.3588644203264266"}},"0.2.2":{"name":"kinto-client","version":"0.2.2","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoApi -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel":"^6.3.26","babel-cli":"^6.4.5","babel-core":"^6.3.26","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.0","babel-loader":"^6.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.4.0","babel-plugin-transform-object-rest-spread":"^6.5.0","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.6","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^1.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"dd778343519b759fe86d9ce5cf5419204aab9a87","_id":"kinto-client@0.2.2","_shasum":"d54a700782df333771cc2b3e894609b940655de5","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"d54a700782df333771cc2b3e894609b940655de5","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.2.2.tgz","integrity":"sha512-qzGphOMKBOLEXmS6vTUqphOrsV9HFntMZ+wAtnnbrG7WcK1wljPKG3bQN+jrrpMl7Co1tGCw4fszN7tF0o+BWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1j/J5tc/WCufmnIk7e0yvkRpsdBB5qpHQXhStO/MxOAiA3jCu95GHnnKniWK/A+CG+GRCdcKjUabYkdZv3xxRvQA=="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.2.2.tgz_1455811827423_0.3070623455569148"}},"0.2.3":{"name":"kinto-client","version":"0.2.3","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"./node_modules/babel-cli/bin/babel.js -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"./node_modules/browserify/bin/cmd.js -s KintoApi -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"./node_modules/browserify/bin/cmd.js -s KintoApi -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"./node_modules/browserify/bin/cmd.js -s KintoApi -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.4.5","babel-core":"^6.3.26","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.0","babel-loader":"^6.2.0","babel-plugin-transform-es2015-modules-commonjs":"^6.4.0","babel-plugin-transform-object-rest-spread":"^6.5.0","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.6","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^1.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"7129aae050374dd0c53067320d3f62015bccd4cc","_id":"kinto-client@0.2.3","_shasum":"2f067aceb8614ae09e065e73c51ff3c060204057","_from":".","_npmVersion":"3.7.3","_nodeVersion":"4.0.0","_npmUser":{"name":"ametaireau","email":"alexis@notmyidea.org"},"dist":{"shasum":"2f067aceb8614ae09e065e73c51ff3c060204057","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.2.3.tgz","integrity":"sha512-r1mMst7TWQ0kmZvm1X6EILLz/UWO/ONkz6p67ia4QYozxlat1M855q3uuspM+aiUXqtWQkLfGSSbl/5LseqlrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCWPI1r97GXB+EXlL6vBy4CIEQcyaHmkHAgHgCC4aDYAIhAPgB1eXyIBOGmo+mlAe54zDNKdhHZtpSHGEIgLw/r7wb"}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.2.3.tgz_1455989578459_0.765118048293516"}},"0.3.0":{"name":"kinto-client","version":"0.3.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.0","babel-core":"^6.6.0","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.3","babel-plugin-transform-object-rest-spread":"^6.5.0","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^2.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"2cb7c30ab1f41db3aa12965a82745cdecae99f28","_id":"kinto-client@0.3.0","_shasum":"56c38ed678964b1ee51eadbbfd1bec4b1b04cfa9","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"56c38ed678964b1ee51eadbbfd1bec4b1b04cfa9","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.3.0.tgz","integrity":"sha512-UH+REjUsv2sYQHkFPZyHTU54Gzm5O5NQvMEVKnIp6RpjsV6tib+9YzVCbHCrHcnNLvY+fxvX7cXdJ27x40+tmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUXM3WyhR2Nbw8b7A4AHiVjZTJ91G+19ylCP5ZRzMMeAIgUqUzghMEn/4uUPQpAfpAf5XkoauTJ4gnYO3whIMcreQ="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.3.0.tgz_1456938933823_0.8264937298372388"}},"0.4.0":{"name":"kinto-client","version":"0.4.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.0","babel-core":"^6.6.0","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.3","babel-plugin-transform-object-rest-spread":"^6.5.0","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^2.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"381618ac360c7943a289baf4e0940f8f62de6ab0","_id":"kinto-client@0.4.0","_shasum":"f9a3b2e533dbb7301ca6acaabb6f7dbbb2e86154","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"f9a3b2e533dbb7301ca6acaabb6f7dbbb2e86154","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.4.0.tgz","integrity":"sha512-6nguLtloHBwRDrOmocExNWCEvvZFaBq4B4WcAsJLX4Q7ek47MwMuaPDQZeTfWZuWF86y7sWzVcaKkmeS5mMrmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAYgyidbx1Vlc4V8yCrLnJzlqNZ99YmrwZa0QB/OIYPSAiAlpc5W/HRIVsbsBdmAPqviqYO9wnP1vy/olVhGVG/+PA=="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.4.0.tgz_1457026126917_0.7980031524784863"}},"0.4.1":{"name":"kinto-client","version":"0.4.1","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","pusblish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.0","babel-core":"^6.6.0","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.3","babel-plugin-transform-object-rest-spread":"^6.5.0","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.0","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"^2.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"55d70d538366d6e8ed7cb6448216d1a7afb8789f","_id":"kinto-client@0.4.1","_shasum":"961ba6679b52712c34c45ce039898a7208e03c4e","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"961ba6679b52712c34c45ce039898a7208e03c4e","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.4.1.tgz","integrity":"sha512-NqVd7schwThlhsdOBZ6ezXy3Rq8epbXnlmMf5K9EU1WyMhfrzShu3+e1rjkOqN5acbCtEckDhinwmYLlKV0i0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8MkyO2VSHYVQj2OP6R8Eue1yJ34916w54INImL6PbDwIgZ+dFS4e3dPFakVBzjQNON0iq4wHNIXGIqpeAWbo/8PE="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.4.1.tgz_1457094155266_0.6654194865841419"}},"0.4.2":{"name":"kinto-client","version":"0.4.2","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","pusblish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"63ff7299bb1aa812bc60fcdea1118165065b3532","_id":"kinto-client@0.4.2","_shasum":"638082cf8ca5e48538982d60c7d1e90dcbd872c7","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"638082cf8ca5e48538982d60c7d1e90dcbd872c7","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.4.2.tgz","integrity":"sha512-MueeLQBolLCHG76qmDh3sBJ8YZNF4RIhZxFuT23mQSQZaEAQ0BuOptXTJAXJOuT6vyXxT1M2xtEWQFpXrdK1MQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqEbI4JWD/mfSSd7QwEH1wE0OaLZ62Ocu3h/EbPm7fGAiB3qjUDScX/GEZbPFtirPOCXpV3n/Zd4fQJO4ihNMzLJw=="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.4.2.tgz_1457356553759_0.035182540537789464"}},"0.5.0":{"name":"kinto-client","version":"0.5.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-decorators-legacy":"^1.0.0","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","mocha":"^2.3.4","sinon":"^1.17.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"4e5f782f33b2f713313b896510ce76c139688fa6","_id":"kinto-client@0.5.0","_shasum":"c80ebbf98a704dd751b5d44ed3af3f0bceb04bde","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"c80ebbf98a704dd751b5d44ed3af3f0bceb04bde","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.5.0.tgz","integrity":"sha512-JzS/XdmFf9Hw54Vnig3rePHwuwq3vsYrXjCv9tic0Knl/4qYRxUoo1GEPEezKBG+wvdjTloCUDtr1/D7XWpPQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIhxFG7fC8TOJMUPhG9XPXrdNfUDk57Emgmfic4/oJSAiEAjcgGOua5oqDTGOUNXd3zQ/riFmEOhUQiZq2Kf/t5XtM="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.5.0.tgz_1458148061846_0.15253068320453167"}},"0.6.0":{"name":"kinto-client","version":"0.6.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"gitHead":"6b6c736180dbef02fa7fa00488ffb407639f58cb","_id":"kinto-client@0.6.0","_shasum":"2bce6571523ece82870e164427c3435b61eafe6d","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"2bce6571523ece82870e164427c3435b61eafe6d","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.6.0.tgz","integrity":"sha512-W5Rq7zutaDbUayfmQ3fsPk/6jPDt7DkZCDIK7BKH7WEANFxItyjJRWt6csb8q4tAhvwseFam9C4Ql8aYUYuAOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyr3nJWbS6pDBMcaN/Rt4com6F8JKrSpI7tIAQe3s82QIhAO5kBQ+jT27VK3sc/5WUj7TjlYtChs1TLuxts70gbJz6"}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.6.0.tgz_1460126378036_0.13142464635893703"}},"0.7.0":{"name":"kinto-client","version":"0.7.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"726e58f26a8b914f22c489f928ddc4b4c2b08a33","_id":"kinto-client@0.7.0","_shasum":"fa1ab69cdb7159f8c5f0ff7a9481041f7ca13b1a","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"fa1ab69cdb7159f8c5f0ff7a9481041f7ca13b1a","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.7.0.tgz","integrity":"sha512-j0UsLhLPw2+/AvPZY9kVkWyA74RlkvYAIJf7nyCb3bZHh8JT7BtFQDnMq3sEa+0sBqeIM/LgC387ZP+cULnTKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6onH/QQatssGqItmmTchWEBAoF4VLERWWPP3SfTqZgAIhANSiceUVTjcJXePnQcSBmrYW3OhSjTq9oJUxWDe2WA6L"}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.7.0.tgz_1464199868831_0.582464681006968"}},"0.8.0":{"name":"kinto-client","version":"0.8.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"4efb1b0ecf586992c88a17f33c44518e6ab46959","_id":"kinto-client@0.8.0","_shasum":"6dafc7b84dbf8eb7579b3b48eba9d1934ffe14a4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"6dafc7b84dbf8eb7579b3b48eba9d1934ffe14a4","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.8.0.tgz","integrity":"sha512-JPC2gB35TPZaNe9B+FWGENUa2COmEsYcLhGCg5jA7Vkc3wt6+qEMIvJ2BqxheaArAgQV6KP+dcltCrrwAzVxqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIREQAAta1LAWbiyW9YmQ7a6NbWPCas/hWiGLk6iSGtAiAWWrBKvD1ZbRz4DMRfpGqegk7NxeJ7iKuaXTqpIc5J/A=="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.8.0.tgz_1464444011736_0.6314591779373586"}},"0.8.1":{"name":"kinto-client","version":"0.8.1","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"6684931e4ae24fcb7e7a1d33e77c1bfc319b472e","_id":"kinto-client@0.8.1","_shasum":"6b87629fb99e64ebd5bc464416e8bc0ed6f43307","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"6b87629fb99e64ebd5bc464416e8bc0ed6f43307","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.8.1.tgz","integrity":"sha512-BRfnL5waswPx5fiVz6PEmue9ghJ9OzOV7lOPjV71+dnXHYRYsyXe305XRkQLSW+JDeNTG9ERiPLsnEdXCsTblA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgjmBNv9WpFPCy3MZzUAGBrpiR/J4yDJkWafwC2GcW0QIhALALq3gWoP0MXPGlXp/0coN0H8vTEov29VB6ZvURrlq3"}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.8.1.tgz_1464593178056_0.5251648516859859"}},"0.8.2":{"name":"kinto-client","version":"0.8.2","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"41f34bbf6fd5b2201a8eff12bccc2905bf23fc15","_id":"kinto-client@0.8.2","_shasum":"c3d23e0161fdd4a09e56775843ac6dff2b187fcb","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"c3d23e0161fdd4a09e56775843ac6dff2b187fcb","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.8.2.tgz","integrity":"sha512-QWNJegTJvN941tRy1P/TWA6AQ1/I6aLU4NYQwN1/lklKXxZZQn9270pbyZJMjcg+gwclxq3KxTUbspdeksm7/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElDpWh8PrkXPOgir/gK7NQKB7wRtTCRcBiQ5Fj6AVeyAiEA7dJmsQTq6/rZTmC8P/5vXlIauR2XdbV3JJ1SMom/UCE="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.8.2.tgz_1464594061492_0.22812144132331014"}},"0.8.3":{"name":"kinto-client","version":"0.8.3","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"2af513c61c772a4af4c945792e5c3dc2495f6e06","_id":"kinto-client@0.8.3","_shasum":"4d70460c6326669ed53105ca8d9ee7fd351f83ae","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"4d70460c6326669ed53105ca8d9ee7fd351f83ae","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.8.3.tgz","integrity":"sha512-Jde00ApjTstPIJYnxOo5pme+LH32lU5uqT49zEno5D/QoFuteJIZQ8/ZhPXw+HLGz72CsoVEnn9w00LOub/BwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo2Jz10khmcbljU5bXR03khjSNuqi/RtlbX7/rXdpf/AIhAIa55hSf8x6qUcjpbpwB/mWY8RpvQF+q74POdA2RvVEu"}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.8.3.tgz_1464681139180_0.7662914784159511"}},"0.9.0":{"name":"kinto-client","version":"0.9.0","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"b6295b2bc7e7a5937e0b774d0c4955fb88af20d0","_id":"kinto-client@0.9.0","_shasum":"cce8848e70f1ac20faaaa04d4381140e5083eb87","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"n1k0","email":"nicolas@perriault.net"},"dist":{"shasum":"cce8848e70f1ac20faaaa04d4381140e5083eb87","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.9.0.tgz","integrity":"sha512-/b7dy9F2nae3sjahbWmrHETJqX4MpV3eJMLqbPx8CbO26XQVS9JuYR4OW/nQaz0bTgUQWWbHIE52Tbc2NwwtOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERXw5QGnk0b6cVwkcEfbyCy0Jb1r3GjXznpZ9e5om0hAiAFAiUocuYxSw4fvxKSj/pQ8fmM+F+TQU9mz1A62rL+0A=="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kinto-client-0.9.0.tgz_1464858590144_0.9516450099181384"}},"0.9.1":{"name":"kinto-client","version":"0.9.1","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"43baa873645b45cd99a0590d4c70571e3d4f0b35","_id":"kinto-client@0.9.1","_shasum":"8ed7309ff049efe3ddb1c99096d15b00bb8a1565","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"leplatrem","email":"leplatrem@gmail.com"},"dist":{"shasum":"8ed7309ff049efe3ddb1c99096d15b00bb8a1565","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.9.1.tgz","integrity":"sha512-inZ8t+zXXm8L4RqOpg0O+9WVD3rDDYk7wjJclTuJNXAlatY/inGAguN6supOzAONBfrrfIOMdWwMZ0+r0bc6ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4dzp657Qcqx1US+4zPLw1e1G65UTEFPV4k0O1RVIy6AiEAmD36FnSwVm0UJ/Af0XrXKsRGjKz/CZmPgzJMh32xpso="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.9.1.tgz_1464875222590_0.664971423568204"}},"0.9.2":{"name":"kinto-client","version":"0.9.2","description":"JavaScript HTTP client for the Kinto API.","main":"lib/index.js","scripts":{"build":"babel -d lib/ src/","dist":"mkdir -p dist && rm -f dist/*.* && npm run dist-dev && npm run dist-prod && npm run dist-noshim && npm run dist-fx","dist-dev":"browserify -s KintoClient -d -e src/index.js -o dist/kinto-client.js -t [ babelify --sourceMapRelative . ]","dist-noshim":"browserify -s KintoClient -g uglifyify --ignore isomorphic-fetch --ignore babel-polyfill -e src/index.js -o dist/kinto-client.noshim.js -t [ babelify --sourceMapRelative . ]","dist-prod":"browserify -s KintoClient -g uglifyify -e src/index.js -o dist/kinto-client.min.js -t [ babelify --sourceMapRelative . ]","dist-fx":"BABEL_ENV=firefox browserify -s KintoHttpClient --ignore isomorphic-fetch --ignore events --bare -e fx-src/index.js -o temp.jsm -t [ babelify --sourceMapRelative . ] && mkdir -p dist && cp fx-src/jsm_prefix.js dist/moz-kinto-http-client.js && echo \"\n/*\n * Version $npm_package_version - $(git rev-parse --short HEAD)\n */\n\" >> dist/moz-kinto-http-client.js && cat temp.jsm >> dist/moz-kinto-http-client.js && rm temp.jsm","prepublish":"toctoc -w -d 2 README.md","publish-to-npm":"npm run build && npm run dist && npm publish","report-coverage":"npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info","tdd":"babel-node node_modules/.bin/_mocha --watch 'test/**/*_test.js'","test":"npm run test-nocover","test-cover":"babel-node node_modules/.bin/babel-istanbul cover --report text $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js'","test-cover-html":"babel-node node_modules/.bin/babel-istanbul cover --report html $npm_package_config_ISTANBUL_OPTS node_modules/.bin/_mocha -- 'test/**/*_test.js' && open coverage/index.html","test-nocover":"babel-node node_modules/.bin/_mocha 'test/**/*_test.js'","lint":"eslint src test"},"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"keywords":["kinto","http","client","api"],"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"homepage":"https://github.com/Kinto/kinto-client#readme","dependencies":{"isomorphic-fetch":"^2.2.1"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.6.5","babel-eslint":"^5.0.0-beta6","babel-istanbul":"^0.6.1","babel-loader":"^6.2.4","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.6.5","babel-plugin-transform-object-rest-spread":"^6.5.5","babel-polyfill":"^6.6.1","babel-preset-es2015":"^6.6.0","babelify":"^7.2.0","browserify":"^13.0.0","btoa":"^1.1.2","chai":"^3.4.1","chai-as-promised":"^5.0.0","coveralls":"^2.11.8","esdoc":"^0.4.6","esdoc-es7-plugin":"0.0.3","esdoc-importpath-plugin":"0.0.1","eslint":"2.2.0","kinto-node-test-server":"0.0.1","mocha":"^2.3.4","sinon":"^1.17.2","toctoc":"^0.2.2","uglifyify":"^3.0.1","uuid":"^2.0.1"},"engines":{"node":">=6"},"gitHead":"d851472d88362b7f4f310e1fc1b492dfe522a6b4","_id":"kinto-client@0.9.2","_shasum":"7a5167308158330971593b3cf40aacf98c4375dd","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"leplatrem","email":"leplatrem@gmail.com"},"dist":{"shasum":"7a5167308158330971593b3cf40aacf98c4375dd","tarball":"https://registry.npmjs.org/kinto-client/-/kinto-client-0.9.2.tgz","integrity":"sha512-Ru4NV3GNgfSnjzi5BlRP0wIddP6wEfIeNJPbV0C1WemLpUYqoo8N6IeuNTaUmXkFuU8bQYxU2CAE6ELOthnExQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNJJsBjA0X21ox1E8qZx52GqX6zXXW+uZdd2qHUDVORgIgDP1Y5odE/ayCwmYyKi7tQvWDcHTxfbnCaQNNZYnawM0="}]},"maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kinto-client-0.9.2.tgz_1464878779945_0.520914315013215"},"deprecated":"WARNING: This module has been renamed to kinto-http. Please install it instead. See https://github.com/Kinto/kinto-http.js/pull/102 for more information."}},"readme":"kinto-client\n============\n\n[![Build Status](https://travis-ci.org/Kinto/kinto-client.svg?branch=master)](https://travis-ci.org/Kinto/kinto-client)\n\nA JavaScript HTTP Client for the [Kinto](http://kinto-storage.org/) API.\n\nRead the [API documentation](https://doc.esdoc.org/github.com/Kinto/kinto-client/).\n\n## Table of Contents\n\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Authentication](#authentication)\n     - [Using Basic Auth](#using-basic-auth)\n     - [Using an OAuth Bearer Token](#using-an-oauth-bearer-token)\n  - [Server information](#server-information)\n  - [Buckets](#buckets)\n     - [Listing buckets](#listing-buckets)\n     - [Creating a new bucket](#creating-a-new-bucket)\n     - [Selecting a bucket](#selecting-a-bucket)\n     - [Getting bucket data](#getting-bucket-data)\n     - [Setting bucket data](#setting-bucket-data)\n     - [Getting bucket permissions](#getting-bucket-permissions)\n     - [Setting bucket permissions](#setting-bucket-permissions)\n     - [Deleting a bucket](#deleting-a-bucket)\n     - [Creating a collection](#creating-a-collection)\n     - [Listing bucket collections](#listing-bucket-collections)\n     - [Deleting a collection](#deleting-a-collection)\n     - [Creating a user group](#creating-a-user-group)\n     - [Listing bucket groups](#listing-bucket-groups)\n     - [Getting a bucket group](#getting-a-bucket-group)\n     - [Updating an existing group](#updating-an-existing-group)\n     - [Deleting a group](#deleting-a-group)\n  - [Collections](#collections)\n     - [Selecting a collection](#selecting-a-collection)\n     - [Getting collection data](#getting-collection-data)\n     - [Setting collection data](#setting-collection-data)\n     - [Getting collection permissions](#getting-collection-permissions)\n     - [Setting collection permissions](#setting-collection-permissions)\n     - [Creating a new record](#creating-a-new-record)\n     - [Retrieving an existing record](#retrieving-an-existing-record)\n     - [Updating an existing record](#updating-an-existing-record)\n     - [Deleting record](#deleting-record)\n     - [Listing records](#listing-records)\n     - [Batching operations](#batching-operations)\n  - [Options](#options)\n  - [The safe option explained](#the-safe-option-explained)\n     - [Safe creations](#safe-creations)\n     - [Safe updates](#safe-updates)\n     - [Safe deletions](#safe-deletions)\n  - [Events](#events)\n     - [The backoff event](#the-backoff-event)\n     - [The deprecated event](#the-deprecated-event)\n     - [The retry-after event](#the-retry-after-event)\n\n---\n\n## Installation\n\nIn the browser, you can load prebuilt scripts hosted on npmcdn:\n\n- [kinto-client.js](https://npmcdn.com/kinto-client/dist/kinto-client.js)\n- [kinto-client.min.js](https://npmcdn.com/kinto-client/dist/kinto-client.min.js)\n- [kinto-client.noshim.js](https://npmcdn.com/kinto-client/dist/kinto-client.noshim.js)\n\n```html\n<script src=\"https://npmcdn.com/kinto-client/dist/kinto-client.min.js\"></script>\n```\n\nIn nodejs:\n\n```\n$ npm install kinto-client --save\n```\n\nThen (ES6):\n\n```js\nimport KintoClient from \"kinto-client\";\n```\n\nOr (ES5):\n\n```js\nvar KintoClient = require(\"kinto-client\").default;\n```\n\nNote that this HTTP client can be transparently used server side or in a regular browser page.\n\n## Usage\n\nA client instance is created using the `KintoClient` constructor, passing it the remote Kinto server root URL, including the version:\n\n```js\nconst client = new KintoClient(\"https://kinto.dev.mozaws.net/v1\");\n```\n\n#### Options\n\n- `safe`: Adds concurrency headers to every requests. (default: `true`)\n- `events`: The events handler. If none provided an `EventEmitter` instance will be created.\n- `headers`: The key-value headers to pass to each request. (default: `{}`)\n- `bucket`: The default bucket to use. (default: `\"default\"`)\n- `requestMode`: The HTTP [CORS](https://fetch.spec.whatwg.org/#concept-request-mode) mode. (default: `\"cors\"`)\n- `timeout`: The requests timeout in milliseconds. (default: `5000`)\n\n\n## Authentication\n\nAuthenticating against a Kinto server can be achieved by adding an `Authorization` header to the request.\n\nBy default Kinto server supports Basic Auth authentication, but others mechanisms can be activated such as OAuth (eg. [Firefox Account](https://accounts.firefox.com/))\n\n### Using Basic Auth\n\nSimply provide an `Authorization` header option to the `Kinto` constructor:\n\n```js\nconst secretString = `${username}:${password}`;\nconst kinto = new KintoClient(\"https://my.server.tld/v1\", {\n  headers: {\n    Authorization: \"Basic \" + btoa(secretString)\n  }\n});\n```\n\n> #### Notes\n>\n> - As explained in the [server docs](http://kinto.readthedocs.io/en/stable/api/1.x/authentication.html#basic-auth), any string is accepted. You're not obliged to use the `username:password` format.\n\n### Using an OAuth Bearer Token\n\nAs for Basic Auth, once you have retrieved a valid OAuth Bearer Token, simply pass it in an `Authorization` header:\n\n```js\nconst kinto = new KintoClient(\"https://my.server.tld/v1\", {\n  headers: {\n    Authorization: `Bearer ` + oauthBearerToken)\n  }\n});\n```\n\n## Server information\n\nA Kinto server exposes some of its internal settings, information about authenticated user, the HTTP API version and the API capabilities (e.g. plugins).\n\n```js\nclient.fetchServerInfo([options])\n  .then(({data}) => ...);\n```\n\nSample result:\n\n```js\n{\n    \"project_name\": \"kinto\",\n    \"project_version\": \"3.0.2\",\n    \"url\": \"http://0.0.0.0:8889/v1/\",\n    \"project_docs\": \"https://kinto.readthedocs.io/\",\n    \"http_api_version\": \"1.6\",\n    \"settings\": {\n        \"batch_max_requests\": 25,\n        \"readonly\": false\n    },\n    \"user\": {\n        \"bucket\": \"2f9b1aaa-552d-48e8-1b78-371dd08688b3\",\n        \"id\": \"basicauth:f505765817a6b4ea46278be0620ddedd83b10f71f7695683719fe001cf0871d7\"\n    },\n    \"capabilities\": {\n        \"default_bucket\": {\n            \"description\": \"The default bucket is an alias for a personal bucket where collections are created implicitly.\",\n            \"url\": \"http://kinto.readthedocs.io/en/latest/api/1.x/buckets.html#personal-bucket-default\"\n        }\n    }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n\n#### Helpers\n\n- `fetchServerSettings([options])`: server settings\n- `fetchServerCapabilities([options])`: API capabilities\n- `fetchUser()`: authenticated user information\n- `fetchHTTPApiVersion([options])`: HTTP API version\n\n\n## Buckets\n\n### Listing buckets\n\n```js\nclient.listBuckets([options])\n  .then(({data}) => ...);\n```\n\nSample result:\n\n```js\n{\n  data: [\n    {\n      id: \"comments\",\n      last_modified: 1456182233221,\n    },\n    {\n      id: \"blog\",\n      last_modified: 1456181213214,\n    },\n  ]\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n### Creating a new bucket\n\n```js\nclient.createBucket(\"blog\"[, options])\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456182233221,\n    \"id\": \"foo\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `data`: Arbitrary data to attach to the bucket\n- `headers`: Custom headers object to send along the HTTP request\n- `safe`: Whether to override existing resource if it already exists (default: `false`)\n\n### Selecting a bucket\n\n```js\nclient.bucket(\"blog\");\n```\n\n### Getting bucket data\n\n```js\nclient.bucket(\"blog\").getData()\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"last_modified\": 1456182336242,\n  \"id\": \"blog\",\n  \"foo\": \"bar\"\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n\n### Setting bucket data\n\n```js\nclient.bucket(\"blog\").setData({foo: \"bar\"})\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456182336242,\n    \"id\": \"blog\",\n    \"foo\": \"bar\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `patch`: Patches existing bucket data instead of replacing them (default: `false`)\n- `headers`: Custom headers object to send along the HTTP request\n- `safe`: Whether to override existing resource if it already exists (default: `false`)\n\n### Getting bucket permissions\n\n```js\nclient.bucket(\"blog\").getPermissions()\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"write\": [\n    \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n  ]\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n### Setting bucket permissions\n\n```js\nconst permissions = {\n  read:  [\"github:bob\"],\n  write: [\"github:bob\", \"github:john\"]\n};\n\nclient.bucket(\"blog\").setPermissions(permissions[, options])\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456182888466,\n    \"id\": \"blog\"\n  },\n  \"permissions\": {\n    \"read\": [\"github:bob\"],\n    \"write\": [\n      \"github:bob\",\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\",\n      \"github:john\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: If `last_modified` is provided, ensures the resource hasn't been modified since that timestamp. Otherwise ensures no existing resource with the provided id will be overriden (default: `false`);\n- `last_modified`: The last timestamp we know the resource has been updated on the server.\n\n#### Notes\n\n- This operation replaces any previously set permissions;\n- Owners will always keep their `write` permission bit, as per the Kinto protocol.\n\n### Deleting a bucket\n\n```js\nclient.deleteBucket(\"testbucket\"[, options])\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"deleted\": true,\n    \"last_modified\": 1456182931974,\n    \"id\": \"blog\"\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: Ensures the resource hasn't been modified in the meanwhile if `last_modified` is provided (default: `false`);\n- `last_modified`: The last timestamp we know the resource has been updated on the server.\n\n### Creating a collection\n\n#### Named collection\n\n```js\nclient.bucket(\"blog\").createCollection(\"posts\")\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n\n{\n  \"data\": {\n    \"last_modified\": 1456183004372,\n    \"id\": \"posts\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### With an ID generated automatically\n\n```js\nclient.bucket(\"blog\").createCollection()\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456183040592,\n    \"id\": \"OUh5VEDa\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\nNote that `OUh5VEDa` is the collection ID automatically generated by the server.\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n- `safe`: Whether to override existing resource if it already exists (default: `false`)\n\n> Note: For generated names, options can be specified only if the first parameters are provided: `createCollection(undefined, {safe: true})`\n\n### Listing bucket collections\n\n```js\nclient.bucket(\"blog\").listCollections()\n  .then(({data}) => ...);\n```\n\nSample result:\n\n```js\n{\n  data: [\n    {\n      \"last_modified\": 1456183153840,\n      \"id\": \"posts\"\n    },\n    {\n      \"last_modified\": 1456183159386,\n      \"id\": \"comments\"\n    }\n  ]\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n### Deleting a collection\n\n```js\nclient.bucket(\"blog\").deleteCollection(\"test\")\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"deleted\": true,\n    \"last_modified\": 1456183116571,\n    \"id\": \"posts\"\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: Ensures the resource hasn't been modified in the meanwhile if `last_modified` is provided (default: `false`);\n- `last_modified`: The last timestamp we know the resource has been updated on the server.\n\n### Creating a user group\n\nKinto has a concept of groups of users. A group has a list of members and belongs to a bucket.\n\nPermissions can refer to the group instead of an individuals - this makes it easy to define «roles», especially if the same set of permissions is applied to several objects.\n\nWhen used in permissions definitions, the full group URI has to be used:\n\n```js\n    {\n      data: {\n        title: \"My article\"\n      },\n      permissions: {\n        write: [\"/buckets/blog/groups/authors\", \"github:lili\"],\n        read: [\"system.Everyone\"]\n      }\n    }\n```\n\n#### Named group\n\n```js\nclient.bucket(\"blog\").createGroup(\"admins\")\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456183004372,\n    \"id\": \"admins\",\n    \"members\": []\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### With a list of members and attributes\n\n```js\nclient.bucket(\"blog\").createGroup(\"admins\", [\"system.Authenticated\"], {data: {pi: 3.14}})\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456183004372,\n    \"id\": \"admins\",\n    \"members\": [\"system.Authenticated\"],\n    \"pi\": 3.14\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### With an ID generated automatically\n\n```js\nclient.bucket(\"blog\").createGroup()\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456183040592,\n    \"members\": [],\n    \"id\": \"7YHFF565\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\nNote that `7YHFF565` is the group ID automatically generated by the server.\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n- `safe`: Whether to override existing resource if it already exists (default: `false`)\n- `data`: Extra group attributes.\n- `permissions`: Permissions to be set on the created group.\n\n> Note: For generated names, options can be specified only if the first parameters are provided: `createGroup(undefined, [], {safe: true})`\n\n\n### Listing bucket groups\n\n```js\nclient.bucket(\"blog\").listGroups()\n  .then(({data}) => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": [\n    {\n      \"last_modified\": 1456183153840,\n      \"id\": \"admins\",\n      \"members\": [\"system.Authenticated\"],\n      \"pi\": 3.14\n    },\n    {\n      \"last_modified\": 1456183159386,\n      \"id\": \"moderators\",\n      \"members\": [\"github:lili\"]\n    }\n  ]\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n### Getting a bucket group\n\n```js\nclient.bucket(\"blog\").getGroup(\"admins\")\n  .then(({data}) => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n      \"last_modified\": 1456183153840,\n      \"id\": \"admins\",\n      \"members\": [\"system.Authenticated\"],\n      \"pi\": 3.14\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n### Updating an existing group\n\n```js\nconst updated = {\n  id: \"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\",\n  members: [\"system.Everyone\", \"github:lili\"],\n  pi: 3.141592\n};\n\nclient.bucket(\"blog\").updateGroup(updated, {permissions: {write: [\"fxa:35478\"]}})\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456183778891,\n    \"id\": \"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\",\n    \"members\": [\"system.Everyone\", \"github:lili\"],\n    \"pi\": 3.141592\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\",\n      \"fxa:35478\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `patch`: Patches the existing record instead of replacing it (default: `false`)\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: If `last_modified` is provided, ensures the resource hasn't been modified since that timestamp. Otherwise ensures no existing resource with the provided id will be overriden (default: `false`);\n- `permissions`: Permissions to be set on the group.\n\n### Deleting a group\n\n```js\nclient.bucket(\"blog\").deleteGroup(\"admins\")\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"deleted\": true,\n    \"last_modified\": 1456183116571,\n    \"id\": \"admins\"\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: Ensures the resource hasn't been modified in the meanwhile if `last_modified` is provided (default: `false`);\n- `last_modified`: The last timestamp we know the resource has been updated on the server.\n\n\n## Collections\n\n### Selecting a collection\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .then(result => ...);\n```\n\n### Getting collection data\n\n```js\nclient.bucket(\"blog\").collection(\"posts\").getData()\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"last_modified\": 1456183561206,\n  \"id\": \"posts\",\n  \"preferedAuthor\": \"@chucknorris\"\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n### Setting collection data\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .setData({preferedAuthor: \"@chucknorris\"})\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456183561206,\n    \"id\": \"posts\",\n    \"preferedAuthor\": \"@chucknorris\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"github:bob\",\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\",\n      \"github:john\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `patch`: Patches the existing data instead of replacing them (default: `false`)\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: If `last_modified` is provided, ensures the resource hasn't been modified since that timestamp. Otherwise ensures no existing resource with the provided id will be overriden (default: `false`);\n- `last_modified`: The last timestamp we know the resource has been updated on the server.\n\n### Getting collection permissions\n\n```js\nclient.bucket(\"blog\").collection(\"posts\").getPermissions()\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"write\": [\n    \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\",\n  ]\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request\n\n### Setting collection permissions\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .setPermissions({\n    read: [\"github:bob\"],\n    write: [\"github:john\", \"github:bob\"]\n  })\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"last_modified\": 1456183508926,\n    \"id\": \"posts\"\n  },\n  \"permissions\": {\n    \"read\": [\"github:bob\"],\n    \"write\": [\n      \"github:bob\",\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\",\n      \"github:john\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: If `last_modified` is provided, ensures the resource hasn't been modified since that timestamp. Otherwise ensures no existing resource with the provided id will be overriden (default: `false`);\n- `last_modified`: The last timestamp we know the resource has been updated on the server.\n\n#### Notes\n\n- This operation replaces any previously set permissions;\n- Owners will always keep their `write` permission bit, as per the Kinto protocol.\n\n\n### Creating a new record\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .createRecord({title: \"My first post\", content: \"Hello World!\"})\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"content\": \"Hello World!\",\n    \"last_modified\": 1456183657846,\n    \"id\": \"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\",\n    \"title\": \"My first post\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: Whether to override existing resource if it already exists and if an id is provided (default: `false`)\n\n### Retrieving an existing record\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .getRecord(\"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\")\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"content\": \"Hello World!\",\n    \"last_modified\": 1456183657846,\n    \"id\": \"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\",\n    \"title\": \"My first post\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: Ensures an existing record with this ID won't be overridden (default: `false`).\n\n### Updating an existing record\n\n```js\nconst updated = {\n  id: \"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\",\n  title: \"My first post, edited\",\n  content: \"Hello World, again!\"\n};\n\nclient.bucket(\"blog\").collection(\"posts\")\n  .updateRecord(updated)\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"content\": \"Hello World, again!\",\n    \"last_modified\": 1456183778891,\n    \"id\": \"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\",\n    \"title\": \"My first post, edited\"\n  },\n  \"permissions\": {\n    \"write\": [\n      \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n    ]\n  }\n}\n```\n\n#### Options\n\n- `patch`: Patches the existing record instead of replacing it (default: `false`)\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: If `last_modified` is provided, ensures the resource hasn't been modified since that timestamp. Otherwise ensures no existing resource with the provided id will be overriden (default: `false`);\n\n### Deleting record\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .deleteRecord(\"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\")\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  \"data\": {\n    \"deleted\": true,\n    \"last_modified\": 1456183877287,\n    \"id\": \"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\"\n  }\n}\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: Ensures the resource hasn't been modified in the meanwhile if `last_modified` is provided (default: `false`);\n- `last_modified`: When `safe` is true, the last timestamp we know the resource has been updated on the server.\n\n### Listing records\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .listRecords()\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n{\n  last_modified: \"\\\"1456183930780\\\"\",\n  next: <Function>,\n  data: [\n    {\n      \"content\": \"True.\",\n      \"last_modified\": 1456183930780,\n      \"id\": \"a89dd4b2-d597-4192-bc2b-834116244d29\",\n      \"title\": \"I love cheese\"\n    },\n    {\n      \"content\": \"Yo\",\n      \"last_modified\": 1456183914275,\n      \"id\": \"63c1805a-565a-46cc-bfb3-007dfad54065\",\n      \"title\": \"Another post\"\n    }\n  ]\n}\n```\n\nNote the root `last_modified` value which is the [collection's timestamp](http://kinto.readthedocs.io/en/stable/core/api/timestamps.html). This value is opaque and should be reused as is, eg. passing it as a `since` option (see the *Options* section below).\n\n#### Sorting\n\nBy default, records are listed by `last_modified` descending order. You can set the `sort` option to order by another field:\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .listRecords({sort: \"title\"})\n  .then(({data, next}) => {\n```\n\n#### Polling for changes\n\nTo retrieve the list of records modified since a given timestamp, use the `since` option:\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .listRecords({since: \"\\\"1456183930780\\\"\"})\n  .then(({data, next}) => {\n```\n\n#### Pagination\n\nBy default, all records returned by the server are retrieved. To specify a max number of records to retrieve, you can use the `limit` option:\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .listRecords({limit: 20})\n  .then(({data, next}) => {\n```\n\nTo retrieve the next page of records, just call `next()` from the result object obtained. If no next page is available, `next()` throws an error you can catch to exit the flow:\n\n```js\nlet getNextPage;\n\nclient.bucket(\"blog\").collection(\"posts\")\n  .listRecords({limit: 20})\n  .then(({data, next}) => {\n    console.log(\"Page 1\", data);\n    getNextPage = next;\n  });\n```\n\nLater down the flow:\n\n```js\ngetNextPage()\n  .then(({data, next}) => {\n    console.log(\"Page 2\", data);\n  })\n  .catch(_ => {\n    console.log(\"No more pages.\");\n  });\n```\n\nLast, if you just want to retrieve and aggregate a given number of result pages, instead of dealing with calling `next()` recursively you can simply specify the `pages` option:\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .listRecords({limit: 20, pages: 3})\n  .then(({data, next}) => ...); // A maximum of 60 records will be retrieved here\n```\n\n> ##### Notes\n>\n> If you plan on fetching all the available pages, you can set the `pages` option to `Infinity`. Be aware that for large datasets this strategy can possibly issue an important amount of HTTP requests.\n\n#### Options\n\n- `sort`: The order field (default: `-last_modified`);\n- `pages`: The number of result pages to retrieve (default: `1`);\n- `limit`: The number of records to retrieve per page: unset by default, uses default server configuration;\n- `filters`: An object defining the filters to apply; read more about [what's supported](http://kinto.readthedocs.io/en/stable/core/api/resource.html#filtering);\n- `since`: The ETag header value received from the last response from the server.\n- `headers`: Custom headers object to send along the HTTP request;\n\n### Batching operations\n\nThis allows performing multiple operations in a single HTTP request.\n\n```js\nclient.bucket(\"blog\").collection(\"posts\")\n  .batch(batch => {\n    batch.deleteRecord(\"cb0f7b2b-e78f-41a8-afad-92a56f8c88db\");\n    batch.createRecord({title: \"new post\", content: \"yo\"});\n    batch.createRecord({title: \"another\", content: \"yo again\"});\n  })\n  .then(result => ...);\n```\n\nSample result:\n\n```js\n[\n  {\n    \"status\": 200,\n    \"path\": \"/v1/buckets/blog/collections/posts/records/a89dd4b2-d597-4192-bc2b-834116244d29\",\n    \"body\": {\n      \"data\": {\n        \"deleted\": true,\n        \"last_modified\": 1456184078090,\n        \"id\": \"a89dd4b2-d597-4192-bc2b-834116244d29\"\n      }\n    },\n    \"headers\": {\n      \"Content-Length\": \"99\",\n      \"Content-Type\": \"application/json; charset=UTF-8\",\n      \"Access-Control-Expose-Headers\": \"Retry-After, Content-Length, Alert, Backoff\"\n    }\n  },\n  {\n    \"status\": 201,\n    \"path\": \"/v1/buckets/blog/collections/posts/records\",\n    \"body\": {\n      \"data\": {\n        \"content\": \"yo\",\n        \"last_modified\": 1456184078096,\n        \"id\": \"afd650b3-1625-42f6-8994-860e52d39201\",\n        \"title\": \"new post\"\n      },\n      \"permissions\": {\n        \"write\": [\n          \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n        ]\n      }\n    },\n    \"headers\": {\n      \"Content-Length\": \"221\",\n      \"Content-Type\": \"application/json; charset=UTF-8\",\n      \"Access-Control-Expose-Headers\": \"Retry-After, Content-Length, Alert, Backoff\"\n    }\n  },\n  {\n    \"status\": 201,\n    \"path\": \"/v1/buckets/blog/collections/posts/records\",\n    \"body\": {\n      \"data\": {\n        \"content\": \"yo again\",\n        \"last_modified\": 1456184078102,\n        \"id\": \"22c1319e-7b09-46db-bec4-c240bdf4e3e9\",\n        \"title\": \"another\"\n      },\n      \"permissions\": {\n        \"write\": [\n          \"basicauth:0f7c1b72cdc89b9d42a2d48d5f0b291a1e8afd408cc38a2197cdf508269cecc8\"\n        ]\n      }\n    },\n    \"headers\": {\n      \"Content-Length\": \"226\",\n      \"Content-Type\": \"application/json; charset=UTF-8\",\n      \"Access-Control-Expose-Headers\": \"Retry-After, Content-Length, Alert, Backoff\"\n    }\n  }\n]\n```\n\n#### Options\n\n- `headers`: Custom headers object to send along the HTTP request;\n- `safe`: Ensures operations won't override existing resources on the server if their associated `last_modified` value or option are provided; otherwise ensures resources won't be overriden if they already exist on the server;\n- `aggregate`: Produces an aggregated result object, grouped by operation types; the result object has the following structure:\n\n```js\n{\n  \"errors\":    [], // Encountered errors (HTTP 400, >=500)\n  \"published\": [], // Successfully published resources (HTTP 200, 201)\n  \"conflicts\": [], // Conflicting resources (HTTP 412)\n  \"skipped\":   []  // Missing target resources on the server (HTTP 404)\n}\n```\n\n## Options\n\nBoth `bucket()` and `collection()` methods accept an `options` object as a second arguments where you can define the following options:\n\n- `{Object} headers`: Custom headers to send along the request;\n- `{Boolean} safe`: Ensure safe transactional operations; read more about that below.\n\nSample usage:\n\n```js\nclient.bucket(\"blog\", {\n  headers: {\"X-Hello\": \"Hello!\"},\n  safe: true\n});\n```\n\nHere the `X-Hello` header and the `safe` option will be used for building every outgoing request sent to the server, for every collection attached to this bucket.\n\nThis works at the collection level as well:\n\n```js\nclient.bucket(\"blog\")\n  .collection(\"posts\", {\n    headers: {\"X-Hello\": \"Hello!\"},\n    safe: true\n  });\n```\n\nEvery request sent for this collection will have the options applied.\n\nLast, you can of course pass these options at the atomic operation level:\n\n```js\nclient.bucket(\"blog\")\n  .collection(\"posts\")\n  .updateRecord(updatedRecord, {\n    headers: {\"X-Hello\": \"Hello!\"},\n    safe: true\n  });\n```\n\nThe cool thing being you can always override the default defined options at the atomic operation level:\n\n```js\nclient.bucket(\"blog\", {safe: true})\n  .collection(\"posts\")\n  .updateRecord(updatedRecord, {safe: false});\n```\n\n## The `safe` option explained\n\nThe `safe` option can be used:\n\n- when creating or updating a resource, to ensure that any already existing record matching the provided ID won't be overridden if it exists on the server;\n- when updating or deleting a resource, to ensure it won't be overridden remotely if it has changed in the meanwhile on the server (requires a `last_modified` value to be provided).\n\n### Safe creations\n\nWhen creating a new ressource, using the `safe` option will ensure the resource will be created only if it doesn't already exist on the server.\n\n### Safe updates\n\nIf a `last_modified` property value is set in the resource object being updated, the `safe` option will ensure it won't be overriden if it's been modified on the server since that `last_modified` timestamp, raising an `HTTP 412` response describing the conflict when that happens:\n\n```js\nconst updatedRecord = {\n  id: \"fbd2a565-8c10-497a-95b8-ce4ea6f474e1\",\n  title: \"new post, modified\",\n  content: \"yoyo\",\n  last_modified: 1456184189160\n};\n\nclient.bucket(\"blog\")\n  .collection(\"posts\")\n  .updateRecord(updatedRecord, {safe: true});\n```\n\nIf this record has been modified on the server already, meaning its `last_modified` is greater than the one we provide , we'll get a `412` error response.\n\nIf no `last_modified` value is provided at all, a safe update will simply guarantee that an existing resource with the provided ID won't be overriden.\n\n### Safe deletions\n\nThe same applies for deletions, where you can pass both a `safe` and `last_modified` options:\n\n```js\nclient.bucket(\"blog\")\n  .collection(\"posts\")\n  .deleteRecord(\"fbd2a565-8c10-497a-95b8-ce4ea6f474e1\", {\n    safe: true,\n    last_modified: 1456184189160\n  });\n```\n\n\n## Events\n\nThe `KintoClient` exposes an `events` property you can subscribe public events from. That `events` property implements nodejs' [EventEmitter interface](https://nodejs.org/api/events.html#events_class_events_eventemitter).\n\n\n### The `backoff` event\n\nTriggered when a `Backoff` HTTP header has been received from the last received response from the server, meaning clients should hold on performing further requests during a given amount of time.\n\nThe `backoff` event notifies what's the backoff release timestamp you should wait until before performing another operation:\n\n```js\nconst client = new KintoClient();\n\nclient.events.on(\"backoff\", function(releaseTime) {\n  const releaseDate = new Date(releaseTime).toLocaleString();\n  alert(`Backed off; wait until ${releaseDate} to retry`);\n});\n```\n\n### The `deprecated` event\n\nTriggered when an `Alert` HTTP header is received from the server, meaning that a feature has been deprecated; the `event` argument received by the event listener contains the following deprecation information:\n\n- `type`: The type of deprecation, which in ou case is always `soft-eol` (`hard-eol` alerts trigger an `HTTP 410 Gone` error);\n- `message`: The deprecation alert message;\n- `url`: The URL you can get information about the related deprecation policy.\n\n```js\nconst client = new KintoClient();\n\nclient.events.on(\"deprecated\", function(event) {\n  console.log(event.message);\n});\n```\n\n### The `retry-after` event\n\nWhen an error occurs on server, a `Retry-After` HTTP header indicates the duration in seconds that clients should wait before retrying the request.\n\nThe `retry-after` event notifies what is the timestamp you should wait until before performing another operation:\n\n```js\nconst client = new KintoClient();\n\nclient.events.on(\"retry-after\", function(releaseTime) {\n  const releaseDate = new Date(releaseTime).toLocaleString();\n  alert(`Wait until ${releaseDate} to retry`);\n});\n```\n\n> #### Note:\n> Eventually, we would like to automate the retry behaviour for requests. See https://github.com/Kinto/kinto-client/issues/34\n","maintainers":[{"name":"ametaireau","email":"alexis@notmyidea.org"},{"name":"leplatrem","email":"leplatrem@gmail.com"},{"name":"n1k0","email":"nicolas@perriault.net"},{"name":"natim","email":"natim@mozilla.com"}],"time":{"modified":"2022-06-19T08:48:35.482Z","created":"2016-02-08T14:55:05.591Z","0.1.0":"2016-02-08T14:55:05.591Z","0.1.1":"2016-02-08T15:02:27.124Z","0.2.0":"2016-02-18T14:24:42.337Z","0.2.1":"2016-02-18T15:36:35.091Z","0.2.2":"2016-02-18T16:10:32.217Z","0.2.3":"2016-02-20T17:33:03.237Z","0.3.0":"2016-03-02T17:15:37.192Z","0.4.0":"2016-03-03T17:28:49.915Z","0.4.1":"2016-03-04T12:22:38.660Z","0.4.2":"2016-03-07T13:15:57.541Z","0.5.0":"2016-03-16T17:07:45.238Z","0.6.0":"2016-04-08T14:39:40.734Z","0.7.0":"2016-05-25T18:11:10.317Z","0.8.0":"2016-05-28T14:00:13.800Z","0.8.1":"2016-05-30T07:26:20.106Z","0.8.2":"2016-05-30T07:41:04.286Z","0.8.3":"2016-05-31T07:52:21.256Z","0.9.0":"2016-06-02T09:09:52.801Z","0.9.1":"2016-06-02T13:47:04.006Z","0.9.2":"2016-06-02T14:46:21.713Z"},"homepage":"https://github.com/Kinto/kinto-client#readme","keywords":["kinto","http","client","api"],"repository":{"type":"git","url":"git+https://github.com/Kinto/kinto-client.git"},"author":{"name":"Mozilla","email":"storage-team@mozilla.com"},"bugs":{"url":"https://github.com/Kinto/kinto-client/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}