{"_id":"ampersand-collection-rest-mixin","_rev":"34-7b1ef8c3a87650872bab8028823a9858","name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","dist-tags":{"latest":"6.0.0"},"versions":{"0.1.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"0.1.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^0.1.3"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"_id":"ampersand-collection-rest-mixin@0.1.0","dist":{"shasum":"bbc52fadd9b4b77256b6487f44cec434e96c181a","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-0.1.0.tgz","integrity":"sha512-Qs7ISTdeCJw4u99cseIi2CULPuGp7PGUobDsao30rlWfiA5mQ9s+XQPIAc3uRCKvvKck7P2UNaacftSH6hGY5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5DOeXjdhV68IBPLOgTSrHg70scovxC1kbv14bAr9+TAiAoJx+Yr090n2aIGPd1Yx/i7ZjGxA5tiAWGXe00DkKqpQ=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"0.1.1":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"0.1.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^0.1.3","extend-object":"^0.1.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"_id":"ampersand-collection-rest-mixin@0.1.1","dist":{"shasum":"0015edad3f397df6e660c73cf2829a0f96aff44d","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-0.1.1.tgz","integrity":"sha512-434FWtXpMYJZPVPvHs4gjdsoLMYjmDlqMyWQAQwXHgEYKEZhTgyYZuaUO9N7OWl+VYpjOrKHrHpahNUsqrd4gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9JPLuQoDs1uBgU8MVatkVY6Bh4HBce0hteYRSwcWdiwIgeeny7+MeH3V5GNHhDdvaGUp/VFi20LdORhbEnJWgj6o="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"1.0.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"1.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^1.0.0","extend-object":"^1.0.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"_id":"ampersand-collection-rest-mixin@1.0.0","dist":{"shasum":"ff8993afa13a54eec877b7b72f3897cfe38b434d","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-1.0.0.tgz","integrity":"sha512-eS/AwxYi7mzPk7hvgvLhG+mIiHIEuZdubcEA/ZKSgeZQ/T1tsv4KaSTKjFXgfUVgB5+DJsAfZUx2WhkNhKVLHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG803m0Qfe8IuLWMH5jLdsLOda6L36mh2GIwVTqNeAa8AiAkKaj33DZYlAafQWgaRgnZQTZpWBlpOmymhgElfegxWg=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"1.1.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"1.1.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^1.0.0","extend-object":"^1.0.0"},"devDependencies":{"jshint":"^2.5.1","precommit-hook":"^1.0.2"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"gitHead":"2c19139fdc92df0fca7725df8d0cd9b09fd1e756","_id":"ampersand-collection-rest-mixin@1.1.0","scripts":{},"_shasum":"c5cbea0e15b5d44894f5249399e94d5ab401ca20","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"c5cbea0e15b5d44894f5249399e94d5ab401ca20","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-1.1.0.tgz","integrity":"sha512-XnTfNvca+ZWLH3yENm5kYbH5TaMVVpFyOwXLJ9mHNeLEa6bUxNMRjJnzkIgoPv0yCy95CN0MwqBg/+6ErBnZ/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzA1AajWMY3ed3p+VQ6ZSYzssJvnWRK4CyfZGwfeNlVAiEA3qm9keBWdUc8aPtGsdUsAZyMPoNKq3Z/r3dWmxJU3G8="}]},"directories":{}},"2.0.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"2.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^1.0.0","extend-object":"^1.0.0"},"devDependencies":{"jshint":"^2.5.1","precommit-hook":"^1.0.2"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"gitHead":"9a3c9784ae56757e184bae81fccd7d145cabbaab","_id":"ampersand-collection-rest-mixin@2.0.0","scripts":{},"_shasum":"9aa4984f0627be16054fcf4abd5243ecd0099d80","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"9aa4984f0627be16054fcf4abd5243ecd0099d80","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-2.0.0.tgz","integrity":"sha512-Do9YK52uYczXWns0ccSfNOMGk9bDZiUxFaMEwbwW+iju18PGm6QREu1aunknq+e+xL2hqzHsEIjZqUV3o+2n6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPeb0o+xiyN2QyTI8IR5mOnP5A2e/EWpvj0O4rdXtxSAIgaA8JBFccQ87mWaQG+C/ZBwQWH6apekxKehDTb7jR66o="}]},"directories":{}},"3.0.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"3.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^2.0.0","extend-object":"^1.0.0"},"devDependencies":{"jshint":"^2.5.1","precommit-hook":"^1.0.2"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"gitHead":"cbaeeff391f7aa96cb4f2645f519c42112a39996","_id":"ampersand-collection-rest-mixin@3.0.0","scripts":{},"_shasum":"7b71a543723db16efd715fed6abff4ac7e40458c","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"7b71a543723db16efd715fed6abff4ac7e40458c","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-3.0.0.tgz","integrity":"sha512-s/sunHqgSC7jkCMWKSNivdA0arsc2FwDrZLhI9M6GLkcd7EWH2Hv2DKd5EaS6Lz1N4Uvx2bpA4WsNdOXz72Mkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDofPj40+6JYGhat2vN0WQgJ5xNYQ0xk30JXYJoCNemWAIgWOs0q53qBomQ4qd8v35tcuepZZPufWl92Bnej7pp25o="}]},"directories":{}},"3.0.1":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"3.0.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^2.0.0","ampersand-version":"^1.0.0","extend-object":"^1.0.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^4.0.2","browserify":"^5.11.1","jshint":"^2.5.1","phantomjs":"^1.9.7-15","precommit-hook":"^1.0.2","run-browser":"^1.3.1","tap-spec":"^0.2.1","tape":"^2.14.0","tape-run":"^0.3.0","underscore":"^1.7.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"scripts":{"start":"run-browser test/main.js","test":"browserify test/main.js | tape-run | tap-spec"},"gitHead":"af3672d47f138cb607ee7814ada57761fd030d46","_id":"ampersand-collection-rest-mixin@3.0.1","_shasum":"3f71bb792a08a5c0ca5ebe8dc7f0043883065f5e","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.28","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"3f71bb792a08a5c0ca5ebe8dc7f0043883065f5e","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-3.0.1.tgz","integrity":"sha512-CqQM3t1YmWeOsv8y895JzxgDxzNeHJ/7bttvkrGPBkU3fxqDcIkHDewMt4knRM94i+ZXzusvBaC1yic5ZJ06/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgCMC0WL3yceXdrYuPFIsx1gjm4m8LwrCjIFe/GTGtjgIhAOwzEoYVLNdTF7XyYqal1+H7WBQ86XbXscpcC3vcL/52"}]},"directories":{}},"4.0.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"4.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^3.0.3","ampersand-version":"^1.0.0","extend-object":"^1.0.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^4.0.2","browserify":"^5.11.1","jshint":"^2.5.1","phantomjs":"^1.9.7-15","precommit-hook":"^1.0.2","run-browser":"^1.3.1","tap-spec":"^0.2.1","tape":"^2.14.0","tape-run":"^0.3.0","underscore":"^1.7.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"scripts":{"start":"run-browser test/main.js","test":"browserify test/main.js | tape-run | tap-spec"},"gitHead":"e4386d8aa7625721be9412be3c1e1a53d55847db","_id":"ampersand-collection-rest-mixin@4.0.0","_shasum":"52f6bb6cb6e008f82be9e0fea4e156adc3b6dc1c","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.10.33","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"52f6bb6cb6e008f82be9e0fea4e156adc3b6dc1c","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-4.0.0.tgz","integrity":"sha512-Y2v1lcQxajo9cRNJPFVu5FUDFz6zNtiHTXpUBMEnQ4EMC2fwAuciWHMHJL768/0bcuy1HuNMR8vhaFc9pte5Cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFUxjFpq8oyn6asi2hCc9TYsTzsl9AZhwkO6QcbiRuoJAiBFsx849m8EiIvvsc6eCfQytKy3BteZUPSKRq4AM7qP1g=="}]},"directories":{}},"4.1.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"4.1.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^3.0.3","ampersand-version":"^1.0.0","extend-object":"^1.0.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^4.0.2","bluebird":"^2.9.14","browserify":"^5.11.1","jshint":"^2.5.1","phantomjs":"^1.9.7-15","precommit-hook":"^1.0.2","run-browser":"^1.3.1","tap-spec":"^0.2.1","tape":"^2.14.0","tape-run":"^0.3.0","underscore":"^1.7.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"scripts":{"start":"run-browser test/main.js","test":"browserify test/main.js | tape-run | tap-spec"},"gitHead":"0e250bb29d43a76cc66bf19d3b1b5b206ae22a34","_id":"ampersand-collection-rest-mixin@4.1.0","_shasum":"7597f818df92c7f32dd80e31acd8c8d4c0323c5f","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.35","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"7597f818df92c7f32dd80e31acd8c8d4c0323c5f","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-4.1.0.tgz","integrity":"sha512-hRhJC6kEJMKn5/zo0rIsbOE8R+e/FVEoerFqC8LB3mhdDdYT8jTL8SUI8sqclPA3frS/NmkcGxl/Jmwrq+zTRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBfS/sTGwF9tt1/OobRUl9TL75tlOmJIeSPdhklOB4uBAiAs55+EoxEEdVxrtp0EVjUBUYzN1KDln8ZRFYRF9uT87g=="}]},"directories":{}},"4.1.1":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"4.1.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-collection-rest-mixin.js"],"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^3.0.3","ampersand-version":"^1.0.0","lodash.assign":"^3.0.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^4.0.2","bluebird":"^2.9.14","browserify":"^5.11.1","jshint":"^2.5.1","phantomjs":"^1.9.7-15","precommit-hook":"^1.0.2","run-browser":"^1.3.1","tap-spec":"^0.2.1","tape":"^2.14.0","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin"},"scripts":{"start":"run-browser test/main.js","test":"browserify test/main.js | tape-run | tap-spec"},"gitHead":"35dd1afdefb7d2b67521433855800359df4efdde","_id":"ampersand-collection-rest-mixin@4.1.1","_shasum":"cb9d4904945c718a600a86a58b28a6f8b63c0696","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.10.37","_npmUser":{"name":"gar","email":"gar@comrade.us"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"gar","email":"gar@comrade.us"}],"dist":{"shasum":"cb9d4904945c718a600a86a58b28a6f8b63c0696","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-4.1.1.tgz","integrity":"sha512-rCTEqICTZwXWujZBYsN1WRwF0wkz2lR5+yF3iTkXgcBARv829+6XIHEnYY1d7alCCdhXVgAMgWRHbVRSWfA3WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvIaswe56Blv1cIbO3DlEXhxnoZscf9lSfwwqGw0x1YAiBP091gZZPUv41GprdOui0iu7NYrCgalUTMl17OJ07dIQ=="}]},"directories":{}},"4.2.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"4.2.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-collection-rest-mixin.js"],"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^3.0.3","ampersand-version":"^1.0.0","lodash.assign":"^3.0.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^4.0.2","bluebird":"^2.9.14","browserify":"^5.11.1","jshint":"^2.5.1","phantomjs":"^1.9.7-15","precommit-hook":"^1.0.2","run-browser":"^1.3.1","tap-spec":"^0.2.1","tape":"^2.14.0","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin.git"},"scripts":{"start":"run-browser test/main.js","test":"browserify test/main.js | tape-run | tap-spec"},"gitHead":"c1f2e31e7d3712223f85d535893fe2b9fa5ae18c","_id":"ampersand-collection-rest-mixin@4.2.0","_shasum":"739c309ecfc5f5ed4b0d9df1704ed6bf34004f0e","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.38","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"dist":{"shasum":"739c309ecfc5f5ed4b0d9df1704ed6bf34004f0e","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-4.2.0.tgz","integrity":"sha512-hrYrGT4XCx+xhNRZdb/x0Ta1oFlxSyRtIyUe2rKdrgURa3YpMx8j3DEufykpBS/MQbI/6jFd54xh7zgzWbRP6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoUAcr5NpDyWyUrXpNZ2/iTAZ5EZYf3kaLoTiamRE6IwIhANfNet93t3eIIH/JSNMd8BSxhNJ3IR/r186uBazCYPN/"}]},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"gar","email":"gar@comrade.us"}],"directories":{}},"5.0.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"5.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-collection-rest-mixin.js"],"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^4.0.0","ampersand-version":"^1.0.0","lodash.assign":"^3.0.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^4.0.2","bluebird":"^2.9.14","browserify":"^5.11.1","jshint":"^2.5.1","phantomjs":"^1.9.7-15","precommit-hook":"^1.0.2","run-browser":"^1.3.1","tap-spec":"^0.2.1","tape":"^2.14.0","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin.git"},"scripts":{"start":"run-browser test/main.js","test":"browserify test/main.js | tape-run | tap-spec"},"gitHead":"59cd17129224f7bea1cbbb1ccc579eda8db2cfed","_id":"ampersand-collection-rest-mixin@5.0.0","_shasum":"21d259a6d24335f4484548c96e5d7636c87befec","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.40","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"dist":{"shasum":"21d259a6d24335f4484548c96e5d7636c87befec","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-5.0.0.tgz","integrity":"sha512-iaas9R75L021mxaYuYJLfz7ye8QQPMxDtj8lhTBgE6LeDK/jzXbdpoiPgeRXU61NQt5J7B4gprAbHkpszBDnmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP0AjiBh8+iWNpR6jnlkjuFr26l5Q9B+dNHOAfso0UhwIgKmG4vRM7IOep5Lp0APT4ZRj9Bs/WtGkqbuS7QiRM+jI="}]},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"gar","email":"gar@comrade.us"}],"directories":{}},"5.1.1":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"5.1.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-collection-rest-mixin.js"],"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^4.0.1","ampersand-version":"^1.0.2","lodash.assign":"^3.2.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^5.0.3","bluebird":"^2.9.14","browserify":"^11.0.1","jshint":"^2.5.1","phantomjs":"^1.9.7-15","precommit-hook":"^3.0.0","run-browser":"^2.0.2","tap-spec":"^4.1.0","tape":"^4.2.0","tape-run":"^1.1.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin.git"},"scripts":{"start":"run-browser test/main.js","test":"browserify test/main.js | tape-run | tap-spec","lint":"jshint .","validate":"npm ls"},"pre-commit":["lint","validate","test"],"gitHead":"6db82bba6d071b666dc4890d5bb14679a0a0e084","_id":"ampersand-collection-rest-mixin@5.1.1","_shasum":"66272bf088cef103a002f6bd0fd7340b59f242d8","_from":".","_npmVersion":"3.3.4","_nodeVersion":"4.1.1","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"dist":{"shasum":"66272bf088cef103a002f6bd0fd7340b59f242d8","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-5.1.1.tgz","integrity":"sha512-q3dp1VJOu2ioh9fGz7/ySFgE2SWNeEln+Z+4wtw3oAbjqxprs+faTHQOyUdJON835Gk+B0sKVjm8ffQpjeTAAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2ewqLmCMXwYpSBVLQagdlXEOU2yBoDt7CD695N2HyLQIgPNr3E6ZwkJY6F7ovqcw7SFeETiYiiovzi0HL5gk1G2o="}]},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"pgilad","email":"giladp007@gmail.com"}],"directories":{}},"5.2.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"5.2.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-collection-rest-mixin.js"],"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^4.0.3","ampersand-version":"^1.0.2","lodash.assign":"^3.2.0"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^6.0.2","bluebird":"^3.1.1","function-bind":"^1.0.2","jshint":"^2.5.1","phantomjs":"^1.9.19","precommit-hook":"^3.0.0","tape":"^4.2.0","zuul":"^3.9.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin.git"},"scripts":{"start":"zuul --local -- test/main.js","test":"zuul --phantom -- test/main.js","test-ci":"zuul -- test/main.js","lint":"jshint .","validate":"npm ls"},"pre-commit":["lint","validate","test"],"gitHead":"72b0294b87d1b50fd4233d3c1d4a45582b8c7cdd","_id":"ampersand-collection-rest-mixin@5.2.0","_shasum":"b494e3e61dddde780683d9ad95768dd514be6194","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.4","_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"dist":{"shasum":"b494e3e61dddde780683d9ad95768dd514be6194","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-5.2.0.tgz","integrity":"sha512-HqfsBu3XEF8VHwqiNwhfueGXzrqKZ/RtbrpDUYBwTmBYatf9mnYU9UskWBgo36tqUMq21by9v6zGlrOm9+Q6SQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTIIt8o7BlekFhrXZy5ImDMlypo89UM9lBgm4S9CY2iwIhAJjlIO3rrbpdjTgDqB8gZXjaumW3J0yzItep8VSNytTO"}]},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"pgilad","email":"giladp007@gmail.com"}],"directories":{}},"6.0.0":{"name":"ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","version":"6.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-collection-rest-mixin.js"],"browserify":{"transform":["ampersand-version"]},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"dependencies":{"ampersand-sync":"^5.0.0","ampersand-version":"^1.0.2","lodash":"^4.11.1"},"devDependencies":{"ampersand-collection":"^1.3.15","ampersand-model":"^7.0.0","bluebird":"^3.1.1","function-bind":"^1.0.2","jshint":"^2.5.1","phantomjs":"^2.1.7","precommit-hook":"^3.0.0","tape":"^4.2.0","zuul":"^3.9.0"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"license":"MIT","main":"ampersand-collection-rest-mixin.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin.git"},"scripts":{"start":"zuul --local -- test/main.js","test":"zuul --phantom -- test/main.js","test-ci":"zuul -- test/main.js","lint":"jshint .","validate":"npm ls"},"pre-commit":["lint","validate","test"],"gitHead":"d0df4b409282d2b6dc29c16fd2a9ddab9eef5922","_id":"ampersand-collection-rest-mixin@6.0.0","_shasum":"38568d3e522a9a78ae6e5814d4082dc22765576f","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.9.1","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"dist":{"shasum":"38568d3e522a9a78ae6e5814d4082dc22765576f","tarball":"https://registry.npmjs.org/ampersand-collection-rest-mixin/-/ampersand-collection-rest-mixin-6.0.0.tgz","integrity":"sha512-Pgh3wJhqffGhzoxjtoy1HfjxDSxeb7jP8IUcFIZNUrIXaVpFqH1oy1rDU4dLwB4zylb0w9UqRmH4q0n+tCNnXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3+i6WbKxWGgQMlwtH7Aw+W6kbeavqdWWuVKOsyy8vxwIgKsQCLsUc4V4I7KUUP8uj9inS7xuTqEnHfmGr4n2CdMQ="}]},"maintainers":[{"name":"fyockm","email":"fyockm@gmail.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"henrikjoreteg","email":"henrik@joreteg.com"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"pgilad","email":"giladp007@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ampersand-collection-rest-mixin-6.0.0.tgz_1464206246709_0.8666621847078204"},"directories":{}}},"readme":"# ampersand-collection-rest-mixin\n\n<!-- starthide -->\nPart of the [Ampersand.js toolkit](http://ampersandjs.com) for building clientside applications.\n<!-- endhide -->\n\nA mixin for extending ampersand-collection with restful methods. To make it behave much like Backbone.\n\n## install\n\n```\nnpm install ampersand-collection-rest-mixin\n```\n\n## api\n\n##### create(model, options)\n\nCreate a new instance of a model in this collection. Add the model to the collection immediately.\n\n###### options\n\n- `wait` - default: `false`. If set to true, we wait for the server to agree before updating the collection.\n\n##### fetch(options)\n\nFetch the default set of models for this collection, and set them onto this collection.\n\n###### options\n\n- `reset` [boolean] - default: `false`.  Executes the `reset` method on the collection with server response instead of the set method.\n- `set` [boolean] - defaut: `true`.  When left true, executes the `reset` method on the collection with server response.  When set to false, the collection will *not be modified* after the HTTP request is complete.  This enables use of of the collection strictly as an API client.  The `success` and `error` handlers are still triggered. Useful in rare circumstances.\n- `success(collection, response, options)` [function] - default: `undefined`.  Called after the XHR has completed successfully and the collection is updated.\n- `error(model, response, options)` [function] - default: `undefined`.  Called after the XHR has failed.\n- `always(err, response, body)` [function] - default: `undefined`. Called when request finishes no matter what the result.\n\n##### fetchById(id, options, cb)\n\nfetches a model and adds it to collection when fetched\n\n##### getOrFetch(id, options, cb)\n\nget or fetch a model by id\n\n###### options\n\nsame options as `fetch()`, with the addition of:\n\n- `all` [boolean] - default: `false`. If `true`, this fetches the entire collection and then returns the requested model.\n\n##### sync()\n\nproxy to [ampersand-sync](AmpersandJS/ampersand-sync)\n\n## example\n\n```javascript\nvar Collection = require('ampersand-collection');\nvar restMixin = require('ampersand-collection-rest-mixin');\n\n\nmodule.exports = Collection.extend(restMixin, {\n    sampleMethod: function () {\n        // now we've got restful methods in our collection\n        this.sync( ... );\n        this.fetch( ... );\n        this.create( ... )\n    }\n});\n```\n\n## credits\n\nAll credit for this approach in backbone goes to Jeremy Ashkenas and the rest of the Backbone and Underscore authors.\n\n## license\n\nMIT\n","maintainers":[{"email":"daniel.hritzkiv@gmail.com","name":"dhritzkiv"},{"email":"fyockm@gmail.com","name":"fyockm"},{"email":"giladp007@gmail.com","name":"pgilad"},{"email":"henrik@joreteg.com","name":"henrikjoreteg"},{"email":"phil@latentflip.com","name":"latentflip"}],"time":{"modified":"2022-06-13T02:46:00.412Z","created":"2014-04-08T06:48:17.715Z","0.1.0":"2014-04-08T06:48:17.715Z","0.1.1":"2014-04-09T15:10:27.791Z","1.0.0":"2014-04-10T04:20:15.821Z","1.1.0":"2014-06-23T19:23:29.989Z","2.0.0":"2014-06-23T19:48:08.857Z","3.0.0":"2014-08-02T06:50:00.258Z","3.0.1":"2014-10-31T14:12:56.456Z","4.0.0":"2015-03-19T22:39:23.206Z","4.1.0":"2015-03-24T21:29:16.414Z","4.1.1":"2015-03-31T15:51:58.380Z","4.2.0":"2015-05-20T16:42:39.284Z","5.0.0":"2015-08-21T00:01:44.673Z","5.1.1":"2015-11-25T18:59:46.985Z","5.2.0":"2016-01-25T18:46:23.515Z","6.0.0":"2016-05-25T19:57:29.505Z"},"homepage":"https://github.com/ampersandjs/ampersand-collection-rest-mixin","keywords":["ampersand","collection","underscore"],"repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-collection-rest-mixin.git"},"author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-collection-rest-mixin/issues"},"license":"MIT","readmeFilename":"README.md","users":{"pgilad":true}}