{"_id":"ampersand-model","_rev":"79-59eb54b7b687d991d8dded43aac29d52","name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","dist-tags":{"latest":"8.0.1"},"versions":{"2.7.0":{"name":"ampersand-model","version":"2.7.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-sync":"0.x.x","statey":"","underscore":"1.x.x"},"devDependencies":{"ampersand-registry":"0.x.x","precommit-hook":"0.3.8","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"build":"node build.js","test":"npm run build && open ./test/index.html"},"description":"<!-- starthide --> Part of the [Human Javascript toolkit](http://docs.humanjavascript.com) for building clientside applications. <!-- endhide -->","_id":"ampersand-model@2.7.0","dist":{"shasum":"a49548a75a4b61116cb1d70b86fe872c59401f2d","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.7.0.tgz","integrity":"sha512-FHAB1zsX572Ft5whhFcZ3I18BDKYbKFydRBpcQxC6sj734/rNVNivKzEAirk9naLgYpOgTQpqqezdavoVdiwug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHj1zayiPHmd6yfpnl9QpzxH/bMQnUxXkJF709P2QHRhAiEA4HrvYf9qLOwT2OR8D0yPEqOoi2XK9hxYr2BEqDrxSBU="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.7.1":{"name":"ampersand-model","version":"2.7.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-sync":"0.x.x","ampersand-state":"0.x.x","underscore":"1.x.x"},"devDependencies":{"ampersand-registry":"0.x.x","precommit-hook":"0.3.8","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"build":"node build.js","test":"npm run build && open ./test/index.html"},"description":"<!-- starthide --> Part of the [Human Javascript toolkit](http://docs.humanjavascript.com) for building clientside applications. <!-- endhide -->","_id":"ampersand-model@2.7.1","dist":{"shasum":"617eafc03dd7995a403591db77d9cecc2beab8cc","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.7.1.tgz","integrity":"sha512-kwb6mZLIKG33/sGuvMbxfvslHegyxqchuahTpP3NYd2t/PBXFTrUSeGeuo71kNPgQxZbDZyI3lGqFPGSObTbpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXe2c1XrD70p8zK6qHcsDVk5O82h0QO+wntC5vU0YHUQIgPXAX4Z9IFBxj5T8f33aVz+jnmX3G48PCRlpf0dKUMNM="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.7.2":{"name":"ampersand-model","version":"2.7.2","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-sync":"0.x.x","ampersand-state":"0.x.x","underscore":"1.x.x"},"devDependencies":{"ampersand-registry":"0.x.x","precommit-hook":"0.3.8","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"build":"node build.js","test":"npm run build && open ./test/index.html"},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.7.2","dist":{"shasum":"6254480c8b7c6e82c418c0fb0cf95921a4a6c244","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.7.2.tgz","integrity":"sha512-7eVoMaruKMMvC+61BLjYu6mM6Adb52nT62G6Ny/MV1eRat8XyjVR2znfzkJzGv98HrJV0gtPQlLUz6I+Pg79Bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMK27DzPo5XwejSy6deVyv66utD8qwhZFgkUMMbRxQRQIgfZvThRyEMdGDxy5LERqFSQASLf+cvkh2uSzX+dOhA5M="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.8.0":{"name":"ampersand-model","version":"2.8.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-sync":"0.x.x","ampersand-state":"0.x.x","underscore":"1.x.x"},"devDependencies":{"ampersand-registry":"0.x.x","precommit-hook":"0.3.8","uglify-js":"2.4.0","browserify":"^3.33.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"build":"node build.js","test":"npm run build && open ./test/index.html","test-speed":"npm run build && open ./test/speed.html"},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.8.0","dist":{"shasum":"4ed0d23d74d10d0d1841a72c113e7d7fef6e52cd","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.8.0.tgz","integrity":"sha512-kgX43iyad5yL4/ZkHD++2LECISWYvA6ZvnMTqW39E3l00SRNqE5oCtS4WYXuZhWiDg3CDtUCDEnGW56A6LbSzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPqEWhKfajdmRK62QtXJwD98ucTlG7JMIcvRtOxJXptQIhAJnzSBZ5rw8xRGQKjs9dkHmdMug8z9OODPoCNQ3DWr1y"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.9.1":{"name":"ampersand-model","version":"2.9.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-state":"^1.0.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.9.1","dist":{"shasum":"610ea9ef5a701b621cae521860f280ab83a08f2f","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.9.1.tgz","integrity":"sha512-ONG6huuEpQg4i6IHSd8mtzzZM4vvHksv3xr2VIiHd0eJDGSS70n38+p782d5BAd5sXb6kkXe1pZ6mJrCLQqOsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+b9JcQMfxOVDoX0I0NOPeeJTfS5Q+gKs1TTwL0D7cxAiEAmDMToCsJT6sZB3M8GoPbQj1PSuYP0cfnU8tBqN9hqVw="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.10.0":{"name":"ampersand-model","version":"2.10.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-state":"^2.0.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.0","dist":{"shasum":"c7f488618aa39b83fd0db2cd2fa99cb12bc5de0e","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.0.tgz","integrity":"sha512-X2Z9IjHtfYsDL7/0ykFf7gAZTcGcrrrNTJe7V7IDJ021NExgk9DKSh7cmGWJUZ9N8g1JihMTv+3Eq+s+Ch75ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVjVgg9GSw6q3YizHSz/XWbR2Kq1Dy/MZuTUVgv8swIAiBjbs6bDFtd752nuOyq8YKlepi+KlWAQNynKS5anEMgwQ=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.10.1":{"name":"ampersand-model","version":"2.10.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-state":"^2.0.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.1","dist":{"shasum":"49187ccd19fd8cf8b146f8eccfc2a4a3c3c0dc9d","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.1.tgz","integrity":"sha512-kv4VmY9pDhhEX8GfgoE22/m4j/NDkRcy4yOUUR6h4dq8qUuOx0BGyM3fSiwtHXXRNCwCzs4MhPQ0HZsQNaz5Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+wTydDyg5VFgcjYtc+aIX63dCOW7zd917ghuKX9i40QIhAPZ8wA+0e4ikz2ueVd0i1z70/rVJspJhkxXiwpUnOUFV"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.10.2":{"name":"ampersand-model","version":"2.10.2","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-state":"^3.0.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.2","dist":{"shasum":"8c56ad6c6dc777d1ae784049a87973373ff72253","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.2.tgz","integrity":"sha512-ETKOfvpi1aU6Uqut3bAmol0dQiSFif5R67TbE0P55rzUZuX5QLW4zhZ6MbyrVBlCDHOdy9BbJz5PlgUf+KRRrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJwXRxHLY1E3fKXDcBIfqMOeMq3DDbNIIidg6KGY8TKwIgPTg/AsLM76PqXPkllEbaNF3HnU+IXK409XKERj1XPZ0="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.10.3":{"name":"ampersand-model","version":"2.10.3","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/henrikjoreteg/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.0.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/henrikjoreteg/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.3","dist":{"shasum":"15d1ed7543296fed8aac0e9f20fb607b1fc340c9","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.3.tgz","integrity":"sha512-hy72LzRnyfsVuq3iM5YxdTLLMICJDQ4iUyIn6ueJWsCYRGTP6h60D4L9tigRRJWGbImK47QhTq359K1UVLnxSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOf276YuQ8uW9m8SX9U9uyNvKO2Ks/i1EMA6QO4Y9ZVgIgYM1MUfzGc2A/Gjx3Bc2HU2VNLWzXWG7XJHn+OyevstY="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"2.10.4":{"name":"ampersand-model","version":"2.10.4","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.0.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.4","_shasum":"9b3573d401424807e4de6220dd3bcf2e8cbf80a1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"9b3573d401424807e4de6220dd3bcf2e8cbf80a1","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.4.tgz","integrity":"sha512-v6qijXiEkOwnXsn8PqNSPbV42mCkhuhVtQuJ5Y+GgxYEDPW52uKE4SMmKMlvFkyKvNDAZ9I7XfkLVF+lp5jxfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbDtBat3eqZuvdOl4RJTSGGZ2jpDB38o1UsOycn7scpAiEAx1H9YJMDmI5u/0ozGP1BLYiEkSRkIq2sIxKHc1WCMtU="}]},"directories":{}},"2.10.5":{"name":"ampersand-model","version":"2.10.5","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.2.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.5","dist":{"shasum":"b56fc1333f4a4daf55abad87656403444e586324","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.5.tgz","integrity":"sha512-Kw7SkvuBpPf26zYSQTGc1wXkbtsCJ/TSq39lu96rHP1/sTnLV6yiPQZC2sCbbTFK8tNmq+yfrTqJUZ579jd05w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmkpQHvnKr4O3yZ33dOrc74ekcfwmJGSepXMPjdYtSRgIhAP7lnpbpOUP1taj0FW/GwIfoxS4Gb28nV9t4PgY54EnF"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"directories":{}},"2.10.6":{"name":"ampersand-model","version":"2.10.6","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.2.1","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.6","dist":{"shasum":"ff4dae5c826abcf0f24a4e2a3b6c20997e20be83","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.6.tgz","integrity":"sha512-PP2Pd/hH2+Z9rdy1w2RRoYzJKi28ZsujxhqBPam4wJn3xge8cAdZ8yoXq1TfyJQVIsqEbSvrqH3uvqT5ZQqOSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWH+lMBrBAbP3m3C9G1xRb/4kxRidviY0X8md9IkyDbQIhAJqHYUzU8phXXlPYdDnsy82QETBTHVkvaC06lxqSoRQ3"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"directories":{}},"2.10.7":{"name":"ampersand-model","version":"2.10.7","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.2.1","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"description":"ampersand-model helps you create observable models for your apps. Most commonly in clientside frameworks, your models are what hold data fetched from your API. But really, it's all about having a way to separate concerns. Your models should be your author","_id":"ampersand-model@2.10.7","_shasum":"6991c1b15981ef36dd79dd658d4e9d857e31c80a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"6991c1b15981ef36dd79dd658d4e9d857e31c80a","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-2.10.7.tgz","integrity":"sha512-/AIAj1lYBxjuD//6Vg9ac0EmRFjwXx2dx5IORlMQivs6kjc3ufI82OxiakCX4QZRfxnZ4N2z5aj85le5/csgrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF5I1GF43OEZ07j6hm4bLk/TiqN6LBApwCFA9nF+mRQgAiEAlxUUEwADILcVdnhM0k3FYKMa1z18hfelUrDchLR8g4c="}]},"directories":{}},"3.0.0":{"name":"ampersand-model","version":"3.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.2.1","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"14afe13327b0f707d619a029b36d19a71bbc920d","description":"<!-- starthide --> Part of the [Ampersand.js toolkit](http://ampersandjs.com) for building clientside applications. <!-- endhide -->","_id":"ampersand-model@3.0.0","_shasum":"94e4bbe17bfe0a579c664680997190b4057b1ee0","_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":"94e4bbe17bfe0a579c664680997190b4057b1ee0","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-3.0.0.tgz","integrity":"sha512-ns8zFxmLeTtiiBpSk62uFOiwdWW1RXZBQTR8cHvi8WIPHKNOo9jxeq9h9LlC/iSOW4HICIyo/zkh/Bs8Y2oHDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCUNN3r//fZrynzsEG8AmGRaN+l5+xAYt+91OXxF7PeAiEA2uEENnTu3eVq4SBn9aKOdKGDwRX8JnKB87gq8sj07F8="}]},"directories":{}},"3.0.1":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"3.0.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.2.1","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"fcd5966e58e5f162050e8def5ad4ad1c2434843a","_id":"ampersand-model@3.0.1","_shasum":"91593fd59fc83af23a77183d4d915a1f53eb5939","_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":"91593fd59fc83af23a77183d4d915a1f53eb5939","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-3.0.1.tgz","integrity":"sha512-DiGEe+KUJx2Cf0tSFkHXXh3GlEiJdnreYGOCdnYJbjKf+3SkJ9i8UL8RV2hU/hBuSViT8dJv9mq8I90GBFuIKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEObqg3NGvHyXDnt5dsHqK6v/GyDy/GN5AjMp9b8VlgYAiEAh/rvDhSMXIkMRI4p1M0zNsic3tAVsU1S39C5iwWRp7c="}]},"directories":{}},"3.0.2":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"3.0.2","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.3.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/index.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"fbeaa5637208f1577502ea4cdbf9e63bb0e773a3","_id":"ampersand-model@3.0.2","_shasum":"cd5a7ce8f7d2e044f80c6eb353389d839967726c","_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":"cd5a7ce8f7d2e044f80c6eb353389d839967726c","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-3.0.2.tgz","integrity":"sha512-GJdjmUFEOXFWKEZeeH6bHMrf/fWmnHRyCbN13xWpOzY2788RtsDYmuKPCAP6Rr7Ru3KLsw6MZ3kZOzxjRAywQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH2fSbQ0/ohz/fsS2XXpAZVsbF4dKsyQGUCua08A5jZYCIQCRhAJpiGtonoEO2HtPgonyn1URDOlG//Ln0ba8I0L+Ag=="}]},"directories":{}},"3.0.3":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"3.0.3","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.3.0","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","proxyquire":"^1.0.0","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/*.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"_id":"ampersand-model@3.0.3","_shasum":"e70acf61225aa21787dedcb19c17675fc22e8c89","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"e70acf61225aa21787dedcb19c17675fc22e8c89","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-3.0.3.tgz","integrity":"sha512-l2qsvdIQ9UyLtbXRkBO2LuTvIgx2cef8GPp4AulXlsTP19cP0gwcNSMbQGh6fOOXL4+5Z7n4t9rWke84YIJQGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC63MqHDfG4syY7i+nA57lDoUqrzDrioinQmtsqyBVajQIgB3TpdgNYW0gtz+yqW3wfX07+VRE0DdHdOtRAtK5BB1w="}]},"directories":{}},"3.0.4":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"3.0.4","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.3.2","ampersand-sync":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","proxyquire":"^1.0.0","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/*.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"_id":"ampersand-model@3.0.4","_shasum":"37114f2330357d0bf75ccf7407d431a18484ba75","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"latentflip","email":"phil@latentflip.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"37114f2330357d0bf75ccf7407d431a18484ba75","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-3.0.4.tgz","integrity":"sha512-Ba7dgUivQ4X3wwa4BbFT6qNdaYGD9fBZEbYQE+MJBzDL/qmVnhC4255sxGq1PJ5/hXYolsQhDD0LlPaoNkAvDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTK5vameqUAG0jNSuRUNRTsOoOj1c/LV1r9ikfnxPMygIgB0JDcA4riBWrUgmNXpuQKcVNEXuupjKdjnVMAA7oXFg="}]},"directories":{}},"4.0.0":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"4.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.3.2","ampersand-sync":"^2.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","proxyquire":"^1.0.0","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/*.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"00e835ee93020e89f6036e0d852e2aeccc420600","_id":"ampersand-model@4.0.0","_shasum":"1bfe90e3289b299763f817a2e951f90e08f1502e","_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":"1bfe90e3289b299763f817a2e951f90e08f1502e","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-4.0.0.tgz","integrity":"sha512-Ozu1AGbg3cXxZDQvZq+XjPRdx9eUcD+/+BTZLZ6iavMTzQyKYdCKW5bV//TuFXmrpsrHPrt/chxZxZfxABoQaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXUu5DHkMJkS9xeeamdBrkiCfl1u5Vd05jH8PRVu/mTAIhAPTASGcmxs6MpjW0nOXOxphBwHCa8/Vn08H5S/8P2a6U"}]},"directories":{}},"4.0.1":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"4.0.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.3.2","ampersand-sync":"^2.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","precommit-hook":"*","proxyquire":"^1.0.0","run-browser":"~1.3.0","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/*.js | tape-run"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"ede4e28979a8fb76c5e0b26acbe05fe0b27f1cd4","_id":"ampersand-model@4.0.1","_shasum":"6f15217efa9d88092f73321ccaf807d2bada21cc","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"gar","email":"gar@comrade.us"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"}],"dist":{"shasum":"6f15217efa9d88092f73321ccaf807d2bada21cc","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-4.0.1.tgz","integrity":"sha512-vlSkKkeb4wp+HQWbJUa8xGMVrq0zYYMlYa8rSSslxZvhLRkHzHEXoF0kOQkCA/C4sNJJNsab0tY+z2nUN9kQ+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDokkCdRGWtgauH599FL0Zz1h1OHc/smDLcFN8gEUxQIgIgcUddOCH+UXd7wdzGEIVCHs4k40Rf4QIT0pX9pQ6MKzA="}]},"directories":{}},"4.0.2":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"4.0.2","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.3.2","ampersand-sync":"^2.0.0","underscore":"^1.6.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","phantomjs":"^1.9.7-15","precommit-hook":"*","proxyquire":"^1.0.0","run-browser":"~1.3.0","tap-spec":"^0.2.1","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"a016af12cab5ff1b930cafcbadea846f3cd7c88b","_id":"ampersand-model@4.0.2","_shasum":"56f517ae659be27cec76e02042cf5eddead09ebe","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"56f517ae659be27cec76e02042cf5eddead09ebe","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-4.0.2.tgz","integrity":"sha512-LvuvS1Rg7LirI+dctp+/0o76Kwf9ORkDaGCERNC5PdLY2fuzKa2YCRGD9tSr3+rr6GHdcFjHw9tb2nGc7TEwUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDH2D7GUfdnAtY/Qiqdgbn3x4LQBrDmhisFzhVI7HXQdgIgBKVLaoZCFuZeCliXFG6CSsLVjtUE5lXv4uKhbXNuuCA="}]},"directories":{}},"4.0.3":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"4.0.3","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.3.2","ampersand-sync":"^2.0.0","underscore":"^1.6.0","ampersand-version":"^1.0.0"},"devDependencies":{"ampersand-registry":"0.x.x","browserify":"~3.39.0","phantomjs":"^1.9.7-15","precommit-hook":"*","proxyquire":"^1.0.0","run-browser":"~1.3.0","tap-spec":"^0.2.1","tape":"~2.12.3","tape-run":"~0.1.1","uglify-js":"2.4.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/index.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"cfd1a8343a876af2516461a31a5fe386e0c5e460","_id":"ampersand-model@4.0.3","_shasum":"527b3264e6398f83898068481eb5542b89f22e85","_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"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"527b3264e6398f83898068481eb5542b89f22e85","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-4.0.3.tgz","integrity":"sha512-KODROUbN597KXpSpsPrhlNZVSlW5SQ8E4+qQSS3yT+a8v+S7JDa33Lq5+Pt+M2o48VOWQQ02I+M0oP83EgmD0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXnybMfjMG27QN7YhmBuHF1ReQSZlFG+xKiRutDgWDsAiEAp414iyPK5MDgEpDGJ3N8WsyCD379T393fUSLp/bdRG4="}]},"directories":{}},"4.0.4":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"4.0.4","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.4.4","ampersand-sync":"^2.0.4","ampersand-version":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"browserify":"^8.1.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"a5429d44b5b5863108cd742f1307b053a6971bdc","_id":"ampersand-model@4.0.4","_shasum":"00406159f760bda72e9d8cefe62d660a8f8fddc2","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.36","_npmUser":{"name":"gar","email":"gar@comrade.us"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"00406159f760bda72e9d8cefe62d660a8f8fddc2","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-4.0.4.tgz","integrity":"sha512-UcGhN0hIoBpMg5fUQz1rOtalJKQD7CSeyhqATd2hzqCnwY5Is91mPT+4YbKPysktK7VQnVN4hGVyE2gHiA8IGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzl5fnekXlnvh1i9HV27qV5XJX4q08b9aMBQ8a/ryV7AiEAlThJZpEr4piPXUvxtqYLdV1KcpLWu65Xfd1H4pwOPmQ="}]},"directories":{}},"4.1.0":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"4.1.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.4.4","ampersand-sync":"^2.0.4","ampersand-version":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"browserify":"^8.1.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"7518641bcdd472510720bb43cb92947c6330a0c1","_id":"ampersand-model@4.1.0","_shasum":"735f99cbd8851f796436f15a92ad6133d9259b19","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"735f99cbd8851f796436f15a92ad6133d9259b19","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-4.1.0.tgz","integrity":"sha512-B7y1QEs4VxibjaCvInswM2/VIG0TVOHGpjsnK5MlZhj6ihOHOIxbkm26qK5umQWturbSy+OGTxa323lxobCMmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCxnxHDNfOOtZNamFReq24Cb5QNrc0hpkUdAnS2ENNeAIhAJvPlFuvl1uWZRJxPcmYV+Wk+0lIEgGcV0pTkCfMBQh0"}]},"directories":{}},"5.0.0":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"5.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.4.4","ampersand-sync":"^3.0.3","ampersand-version":"^1.0.0","underscore":"^1.6.0"},"devDependencies":{"browserify":"^8.1.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"56781338c722646c8e364874fffed093917a6ce7","_id":"ampersand-model@5.0.0","_shasum":"c7049929336b505847f25722f24098f7a287b294","_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":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"c7049929336b505847f25722f24098f7a287b294","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-5.0.0.tgz","integrity":"sha512-W+nNVB3JK2sgLDekWsxN4Y5moyjfUXJDnnEiu4PePJSKbUtIqOVNHb4++V0QnC0HbgGklGaijGSOgPiHXgEnBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHHAJJWCaf654KOcwNhKCezCmCMD4LG2rqvOZ3sCLbdQIhAMKVSS9dndclbTKG569MFiixGSJKaisK0MslT+A2v111"}]},"directories":{}},"5.0.1":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"5.0.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.4.4","ampersand-sync":"^3.0.3","ampersand-version":"^1.0.0","lodash.assign":"^3.0.0","lodash.clone":"^3.0.1","lodash.isobject":"^3.0.1","lodash.result":"^3.0.0"},"devDependencies":{"browserify":"^8.1.0","lodash":"^3.6.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"645796fd84afb904f0ce564e5c08ced63c673314","_id":"ampersand-model@5.0.1","_shasum":"36b9dd4ebb35d793ceb07a4f4dfbe22c69798178","_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":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"36b9dd4ebb35d793ceb07a4f4dfbe22c69798178","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-5.0.1.tgz","integrity":"sha512-M5gRRuDSIjHS/rnIAJcduF4+sueOWIhYgwKqLEsk7PuHBP3KFeJMkIEVR64jJR3Xo6iDdFa3jVcZV4zZwlNd2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLaaQijcHzaAIxMJ4P2SVGt8NiiOOBOZPTNbA5IyVzxwIhAMng2Am3kXJyOBaLNbJjSBtJTrgHHuNAYjgDX4u9+DLp"}]},"directories":{}},"5.0.2":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"5.0.2","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.5.2","ampersand-sync":"^3.0.5","ampersand-version":"^1.0.2","lodash.assign":"^3.0.0","lodash.clone":"^3.0.1","lodash.isobject":"^3.0.1","lodash.result":"^3.0.0"},"devDependencies":{"browserify":"^8.1.0","lodash":"^3.6.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"58895adff27fbe30ee8604c2655dd1f5e772ea93","_id":"ampersand-model@5.0.2","_shasum":"2db95029ce80e1838da633d6abf55b336f7fd760","_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":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"2db95029ce80e1838da633d6abf55b336f7fd760","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-5.0.2.tgz","integrity":"sha512-HLIoOabLW0lAhiFdRcU0d8CmXbrr3LFOVGjKd07eoLjjS+I7iXFwtQnd2TRnIIgTtW3xKP0OTDPFyUfI4tMLnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNWjdVnStyMhNbOGKBzvoYfxvGW2tdByVDgxJixIbDRAiAOaN/TajiFKD8+tvbbBQwX3TbdA8f/pC2G1F4e0eFj2w=="}]},"directories":{}},"5.0.3":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"5.0.3","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.5.2","ampersand-sync":"^3.0.5","ampersand-version":"^1.0.2","lodash.assign":"^3.0.0","lodash.clone":"^3.0.1","lodash.isobject":"^3.0.1","lodash.result":"^3.0.0"},"devDependencies":{"browserify":"^8.1.0","lodash":"^3.6.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"e87a37eda452910eb9e1bc1ef1e6268fa3169e88","_id":"ampersand-model@5.0.3","_shasum":"d9f8be72e376f9f377b98adc28ec4fcd47e46b5f","_from":".","_npmVersion":"2.7.5","_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":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"d9f8be72e376f9f377b98adc28ec4fcd47e46b5f","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-5.0.3.tgz","integrity":"sha512-RsWhBBvlOtvDU4i+tPbUkdcJ2JAWas9peiwQP+7E4c3bzLt6bGFrexRQeEqNcjxsv9mSdbiGAEYZUzHjmi8phw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHuZ6xhu44A9rGFR84qsgWuBLywYb5wKFrx8JT83dTqwIhAKInyLeVe1v/U0BRIWUskhBZmtmpaaUBENz0oJXmDQB8"}]},"directories":{}},"6.0.0":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"6.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.5.2","ampersand-sync":"^4.0.1","ampersand-version":"^1.0.2","lodash.assign":"^3.0.0","lodash.clone":"^3.0.1","lodash.isobject":"^3.0.1","lodash.result":"^3.0.0"},"devDependencies":{"browserify":"^8.1.0","lodash":"^3.6.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"cd64f14e584d1ee4c3c5474779494620d72d6894","_id":"ampersand-model@6.0.0","_shasum":"8bea190c3719271e3c2ec4bdad3c6d3831dbd589","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.40","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"dist":{"shasum":"8bea190c3719271e3c2ec4bdad3c6d3831dbd589","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-6.0.0.tgz","integrity":"sha512-AqJagRT983DCNf5C3iQrChO+GchRm2BbsC2iWzHKxfXK+lCevP2GneZdHTUra51WuY5IcIAEUAXcYoSSp3j4DQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFNDlshEKM6UJHfOA4eM6mBiTM4BXO0RmGOAf1WsaykSAiEAph7iXms496ZyV12b0yLHoTNec4Ga5hKCEucxGRqZJV8="}]},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"directories":{}},"6.0.1":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"6.0.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.5.2","ampersand-sync":"^4.0.1","ampersand-version":"^1.0.2","lodash.assign":"^3.0.0","lodash.clone":"^3.0.1","lodash.isobject":"^3.0.1","lodash.result":"^3.0.0"},"devDependencies":{"browserify":"^8.1.0","lodash":"^3.6.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"gitHead":"5d67eac3d0eaa493e2b69e04538c3540be28e060","_id":"ampersand-model@6.0.1","_shasum":"056fc9c824645cc7fe4eb1e0e91cfad6dc9b4dd5","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"pgilad","email":"giladp007@gmail.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar+npm@danger.computer"},{"name":"lukekarrys","email":"luke@lukekarrys.com"},{"name":"pgilad","email":"giladp007@gmail.com"}],"dist":{"shasum":"056fc9c824645cc7fe4eb1e0e91cfad6dc9b4dd5","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-6.0.1.tgz","integrity":"sha512-iyGQQnYFe2zXXx7atYF0qcMgemjN3SGH0BbPsPFuEST24eTC6Fz4S6SIvsVx8QzpICTUmQT8JkKKJlNRwKJ9Bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTtynHOOjpluryQoCkUo995YUYG+ythp/DKkQ3/hwsOAiEAh4aGuxCj8R0C8DRbrtwXznqeHXMbsZ4q7U6JSQkrDns="}]},"directories":{}},"6.0.2":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"6.0.2","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.6.0","ampersand-sync":"^4.0.2","ampersand-version":"^1.0.2","lodash.assign":"^3.2.0","lodash.clone":"^3.0.3","lodash.isobject":"^3.0.2","lodash.result":"^3.1.2"},"devDependencies":{"browserify":"^8.1.0","lodash":"^3.6.0","phantomjs":"^1.9.13","precommit-hook":"*","run-browser":"^2.0.1","tap-spec":"^2.1.2","tape":"^3.0.3","tape-run":"^0.3.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"run-browser test/*.js","test":"browserify test/*.js | tape-run | tap-spec","lint":"jshint .","validate":"npm ls","preversion":"git checkout master && git pull && npm ls","publish-patch":"npm run preversion && npm version patch && git push origin master --tags && npm publish","publish-minor":"npm run preversion && npm version minor && git push origin master --tags && npm publish","publish-major":"npm run preversion && npm version major && git push origin master --tags && npm publish"},"testling":{"files":"test/index.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"browserify":{"transform":["ampersand-version"]},"pre-commit":["lint","validate","test"],"gitHead":"42a6aaa366777ddf8073fb447967b8fe7a4bc535","_id":"ampersand-model@6.0.2","_shasum":"8a6957aff74b291f60369c6d338d1d38d2b94029","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"cdaringe","email":"cdaringe@gmail.com"},"maintainers":[{"name":"cdaringe","email":"cdaringe@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"}],"dist":{"shasum":"8a6957aff74b291f60369c6d338d1d38d2b94029","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-6.0.2.tgz","integrity":"sha512-xIFw3rgvvIGoUU/dg/MDUj7bSQqiQm5t2SMkGlFzDdh/S3I9bnKNY83ZJiFVbRrEJbKC07Kd0mIr4ja1/KvbFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/XqVikACuymAcp2r2fyLhMS7ZPRS9TyTi8zulVKEXbAiEA4J/myQ5cKiedVpPUDSjfJm1JY6o3u6ljTtH5Lg/TOUE="}]},"directories":{}},"6.0.3":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"6.0.3","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^4.6.0","ampersand-sync":"^4.0.3","ampersand-version":"^1.0.2","lodash.assign":"^3.2.0","lodash.clone":"^3.0.3","lodash.isobject":"^3.0.2","lodash.result":"^3.1.2"},"devDependencies":{"jshint":"^2.9.1","lodash":"^3.6.0","phantomjs":"^1.9.13","precommit-hook":"*","tape":"^3.0.3","zuul":"^3.9.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"zuul --local -- test/index.js","test":"zuul --phantom -- test/index.js","test-ci":"zuul -- test/index.js","lint":"jshint .","validate":"npm ls","preversion":"git checkout master && git pull && npm ls","publish-patch":"npm run preversion && npm version patch && git push origin master --tags && npm publish","publish-minor":"npm run preversion && npm version minor && git push origin master --tags && npm publish","publish-major":"npm run preversion && npm version major && git push origin master --tags && npm publish"},"browserify":{"transform":["ampersand-version"]},"pre-commit":["lint","validate","test"],"gitHead":"1e7d2b134480e632eed7604fb27362d0186e700a","_id":"ampersand-model@6.0.3","_shasum":"c7ece5a67155153e13c72475acf178b3384a557c","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.4","_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"dist":{"shasum":"c7ece5a67155153e13c72475acf178b3384a557c","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-6.0.3.tgz","integrity":"sha512-zESbBi7Rx8bOrYJOv0CwBXnl1bFJMJ8CzKxiirvnR7Q65bvtco6MxQ3v9fPT+kE84bKJ0YIsI0j2tEPVpsfqkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNSbzqenpgty6P/34K7oyRDBctu9KWpuR3hzUGnS55xQIhAOdvtAuBMp82hddt1E4u+nGbvgowkGS9I0I/S2WFpyRs"}]},"maintainers":[{"name":"cdaringe","email":"cdaringe@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-13-west.internal.npmjs.com","tmp":"tmp/ampersand-model-6.0.3.tgz_1458687487476_0.23319642152637243"},"directories":{}},"7.0.0":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"7.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^5.0.1","ampersand-sync":"^4.0.3","ampersand-version":"^1.0.2","lodash":"^4.11.1"},"devDependencies":{"jshint":"^2.9.1","phantomjs":"^1.9.13","precommit-hook":"*","tape":"^3.0.3","zuul":"^3.9.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"zuul --local -- test/index.js","test":"zuul --phantom -- test/index.js","test-ci":"zuul -- test/index.js","lint":"jshint .","validate":"npm ls","preversion":"git checkout master && git pull && npm ls","publish-patch":"npm run preversion && npm version patch && git push origin master --tags && npm publish","publish-minor":"npm run preversion && npm version minor && git push origin master --tags && npm publish","publish-major":"npm run preversion && npm version major && git push origin master --tags && npm publish"},"browserify":{"transform":["ampersand-version"]},"pre-commit":["lint","validate","test"],"gitHead":"6042bf1b7fb4d9399f4bc05160c5bcccc3ff4871","_id":"ampersand-model@7.0.0","_shasum":"e9f3e4a121a3aa9015d75fb282afbf4519a4f086","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"pgilad","email":"giladp007@gmail.com"},"dist":{"shasum":"e9f3e4a121a3aa9015d75fb282afbf4519a4f086","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-7.0.0.tgz","integrity":"sha512-mExGuVN+2Zlry0QzMDVf0N0BqGiWRGn4r1/7nH2us/17v+W1cYgpuvaw5D2/xWx0tv1XEr6+d8H0ch1HUT8RNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo5e2MzD4JEj/HXfl9LoUxH9cnq7QBg/Zus28roT1/wwIgbK19QM1lJu34Fx5AYEF+Yx0FOfO104/L6zNTZihdKiY="}]},"maintainers":[{"name":"cdaringe","email":"cdaringe@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-model-7.0.0.tgz_1461738762848_0.6448388053104281"},"directories":{}},"8.0.0":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"8.0.0","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^5.0.1","ampersand-sync":"^5.0.0","ampersand-version":"^1.0.2","lodash":"^4.11.1"},"devDependencies":{"jshint":"^2.9.1","phantomjs":"^1.9.13","precommit-hook":"*","tape":"^3.0.3","zuul":"^3.9.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"zuul --local -- test/index.js","test":"zuul --phantom -- test/index.js","test-ci":"zuul -- test/index.js","lint":"jshint .","validate":"npm ls","preversion":"git checkout master && git pull && npm ls","publish-patch":"npm run preversion && npm version patch && git push origin master --tags && npm publish","publish-minor":"npm run preversion && npm version minor && git push origin master --tags && npm publish","publish-major":"npm run preversion && npm version major && git push origin master --tags && npm publish"},"browserify":{"transform":["ampersand-version"]},"pre-commit":["lint","validate","test"],"gitHead":"cec083bd65c8b2321b97b2e2e15586d37abb8cad","_id":"ampersand-model@8.0.0","_shasum":"85240edba92ddad46a85db3acc7ae408dccf57c5","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.9.1","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"dist":{"shasum":"85240edba92ddad46a85db3acc7ae408dccf57c5","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-8.0.0.tgz","integrity":"sha512-zPo5+ZGdct4TDJf90Lgf/SfjK3u0Y7rlL6SuO37WmJwhvkANELjM0hUOAQV+B10Yk/BGGUSljZqLdfS64WaOMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVdSfg+EO0iCb3wHbK5bMMg1CEYhUmLQhxgJSPhlzZ2AiAriMuZwoBOUu87GaZg8HGEV0juxoZiAVXNJN1hmdpp2Q=="}]},"maintainers":[{"name":"cdaringe","email":"cdaringe@gmail.com"},{"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-model-8.0.0.tgz_1464207866721_0.8058970887213945"},"directories":{}},"8.0.1":{"name":"ampersand-model","description":"An extension to ampersand-state that adds methods and properties for working with a RESTful API.","version":"8.0.1","author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"files":["ampersand-model.js"],"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"dependencies":{"ampersand-state":"^5.0.1","ampersand-sync":"^5.0.0","ampersand-version":"^1.0.2","lodash":"^4.11.1"},"devDependencies":{"jshint":"^2.9.1","phantomjs":"^2.1.7","precommit-hook":"*","tape":"^4.8.0","zuul":"^3.9.0"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"license":"MIT","main":"./ampersand-model.js","repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"scripts":{"start":"zuul --local -- test/index.js","test":"zuul --phantom -- test/index.js","test-ci":"zuul -- test/index.js","lint":"jshint .","validate":"npm ls","preversion":"git checkout master && git pull && npm ls","publish-patch":"npm run preversion && npm version patch && git push origin master --tags && npm publish","publish-minor":"npm run preversion && npm version minor && git push origin master --tags && npm publish","publish-major":"npm run preversion && npm version major && git push origin master --tags && npm publish"},"browserify":{"transform":["ampersand-version"]},"pre-commit":["lint","validate","test"],"gitHead":"34eb3dea745e47199d5b95f627cf2127de665dc0","_id":"ampersand-model@8.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"dhritzkiv","email":"daniel.hritzkiv@gmail.com"},"dist":{"integrity":"sha512-WyrqX1lwseHsYehKgnZvTx4EAq/NAOHC8DbodBm6fZPc4FsKm0ZgaVEe6grGXmkZb9nArkAxAF5I2NTIbHes4A==","shasum":"a1dbcf56e23148a71a692fc305fa64818854642b","tarball":"https://registry.npmjs.org/ampersand-model/-/ampersand-model-8.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBv5oWq2RwNTx57D4/d+MAWR/vWXTyUUS9UBfAbWfMALAiBgrTEuYB+iMtK+mCGFwEQMhYmpLaAUUy+xSFIaasVW9g=="}]},"maintainers":[{"email":"daniel.hritzkiv@gmail.com","name":"dhritzkiv"},{"email":"fyockm@gmail.com","name":"fyockm"},{"email":"cdaringe@gmail.com","name":"cdaringe"},{"email":"giladp007@gmail.com","name":"pgilad"},{"email":"henrik@joreteg.com","name":"henrikjoreteg"},{"email":"phil@latentflip.com","name":"latentflip"},{"email":"gar+npm@danger.computer","name":"gar"},{"email":"luke@lukekarrys.com","name":"lukekarrys"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ampersand-model-8.0.1.tgz_1508532241536_0.24554884433746338"},"directories":{}}},"readme":"# ampersand-model\n\n<!-- starthide -->\nPart of the [Ampersand.js toolkit](http://ampersandjs.com) for building clientside applications.\n<!-- endhide -->\n\nampersand-model is an extension built on [ampersand-state](http://ampersandjs.com/docs/#ampersand-state) to provide methods and properties that you'll often want when modeling data you get from an API.\n\nFor further explanation see the [learn ampersand-state](http://ampersandjs.com/learn/state) guide.\n\n## Installing\n\n```\nnpm install ampersand-model\n```\n\n## Observing\n\nAmpersand gets its event system from Backbone using the [backbone-events-standalone](https://www.npmjs.org/package/backbone-events-standalone) module on npm.\n\nFor more, [read all about how events work in ampersand](http://ampersandjs.com/learn/events).\n\n## Browser compatibility\n\n[![testling badge](https://ci.testling.com/ampersandjs/ampersand-model.png)](https://ci.testling.com/ampersandjs/ampersand-model)\n\n## API Reference\n\nThe module exports just one item, the ampersand-model constructor. It has a method called `extend` that works as follows:\n\n### extend `AmpersandModel.extend({ })`\n\nTo create a **Model** class of your own, you extend **AmpersandModel** and provide instance properties and options for your class. Typically here you will pass any properties (`props`, `session`, and `derived`) of your model class, and any instance methods to be attached to instances of your class.\n\n**extend** correctly sets up the prototype chain, so that subclasses created with **extend** can be further extended as many times as you like.\n\nAs with AmpersandState, definitions like `props`, `session`, `derived` etc will be merged with superclass definitions.\n\n```javascript\nvar Person = AmpersandModel.extend({\n    props: {\n        firstName: 'string',\n        lastName: 'string'\n    },\n    session: {\n        signedIn: ['boolean', true, false],\n    },\n    derived: {\n        fullName: {\n            deps: ['firstName', 'lastName'],\n            fn: function () {\n                return this.firstName + ' ' + this.lastName;\n            }\n        }\n    }\n});\n```\n\n\n### constructor/initialize `new ExtendedAmpersandModel([attrs], [options])`\n\nThis works exactly like [state](http://ampersandjs.com/docs/#ampersand-state-constructorinitialize) with a minor addition: If you pass `collection` as part of options it'll be stored for reference.\n\nAs with AmpersandState, if you have defined an **initialize** function for your subclass of State, it will be invoked at creation time.\n\n```javascript\nvar me = new Person({\n    firstName: 'Phil',\n    lastName: 'Roberts'\n});\n\nme.firstName //=> Phil\n```\n\nAvailable options:\n\n* `[parse]` {Boolean} - whether to call the class's [parse](#ampersand-state-parse) function with the initial attributes. _Defaults to `false`_.\n* `[parent]` {AmpersandState} - pass a reference to a model's parent to store on the model.\n* `[collection]` {Collection} - pass a reference to the collection the model is in. Defaults to `undefined`.\n\n\n### save `model.save([attributes], [options])`\n\nSave a model to your database (or alternative persistence layer) by delegating to [ampersand-sync](https://github.com/ampersandjs/ampersand-sync). Returns a [xhr](https://github.com/Raynos/xhr) object if validation is successful and false otherwise. The attributes hash (as in [set](http://ampersandjs.com/docs#ampersand-state-set)) should contain the attributes you'd like to change — keys that aren't mentioned won't be altered — but, a *complete representation* of the resource will be sent to the server. As with `set`, you may pass individual keys and values instead of a hash. If the model has a validate method, and validation fails, the model will not be saved. If the model `isNew`, the save will be a \"create\" (HTTP POST).  If the model already exists on the server, the save will be an \"update\" (HTTP PUT).\n\nIf you only want the changed attributes to be sent to the server, call `model.save(attrs, {patch: true})`. You'll get an HTTP PATCH request to the server with just the passed-in attributes.\n\nCalling save with new attributes will cause a `\"change\"` event immediately, a `\"request\"` event as the Ajax request begins to go to the server, and a `\"sync\"` event after the server has acknowledged the successful change. Pass `{wait: true}` if you'd like to wait for the server before setting the new attributes on the model.\n\n```javascript\nvar book = new AmpersandModel({\n  title: \"The Rough Riders\",\n  author: \"Theodore Roosevelt\"\n});\n\nbook.save();\n//=> triggers a `POST` via ampersand-sync with { \"title\": \"The Rough Riders\", \"author\": \"Theodore Roosevelt\" }\n\nbook.save({author: \"Teddy\"});\n//=> triggers a `PUT` via ampersand-sync with { \"title\": \"The Rough Riders\", \"author\": \"Teddy\" }\n```\n\n**save** accepts `success` and `error` callbacks in the options hash, which will be passed the arguments `(model, response, options)`. If a server-side validation fails, return a non-`200` HTTP response code, along with an error response in text or JSON.\n\n### fetch `model.fetch([options])`\n\nResets the model's state from the server by delegating a GET to ampersand-sync. Returns a xhr. Useful if the model has yet to be populated with data, or you want to ensure you have the latest server state. A `\"change\"` event will be triggered if the retrieved state from the server differs from the current attributes. Accepts `success` and `error` callbacks in the options hash, which are both passed `(model, response, options)` as arguments.\n\n```javascript\nvar me = new Person({id: 123});\nme.fetch();\n```\n\n### destroy `model.destroy([options])`\n\nDestroys the model on the server by delegating a HTTP `DELETE` request to ampersand-sync. Returns the xhr object, or `false` if the model [isNew](#ampersand-state-isnew). Accepts `success` and `error` callbacks in the options hash, which are both passed `(model, response, options)` as arguments.\n\nTriggers:\n\n* a `\"destroy\"` event on the model, which will bubble up through any collections which contain it.\n* a `\"request\"` event as it begins the Ajax request to the server\n* a `\"sync\"` event, after the server has successfully acknowledged the model's deletion.\n\nPass `{wait: true}` if you'd like to wait for the server to respond before removing the model from the collection.\n\n```javascript\nvar task = new Task({id: 123});\ntask.destroy({\n    success: function () {\n        alert('Task destroyed!');\n    },\n    error: function () {\n        alert('There was an error destroying the task');\n    },\n});\n```\n\n### sync `model.sync(method, model, [options])`\n\nUses ampersand-sync to persist the state of a model to the server. Usually you won't call this directly, you'd use `save` or `destroy` instead, but it can be overriden for custom behaviour.\n\n\n## Configuring\n\n### ajaxConfig `model.ajaxConfig or model.ajaxConfig()`\n\nampersand-sync will call ajaxConfig on your model before it makes the request to the server, and will merge in any options you return to the request. When extending your own model, set an ajaxConfig function to modify the request before it goes to the server.\n\najaxConfig can either be an object, or a function that returns an object, with the following options:\n\n* `useXDR` [boolean]: (applies to IE9 only with cross domain requests): signifies that this is a cross-domain request and that IE should use its XDomainRequest object. This is required if you're making cross-domain requests and want to support IE9). Note that XDR doesn't support headers/withCredentials.\n* `headers` [object]: any extra headers to send with the request.\n* `xhrFields` [object]: any fields to set directly on the [XHR](https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest) request object, most typically:\n    * `withCredentials` [boolean]: whether to send cross domain requests with authorization headers/cookies. Useful if you're making cross sub-domain requests with a root-domain auth cookie.\n* `beforeSend` [function]: beforeSend will be called before the request is made, and will be passed the raw `xhr` object if you wish to modify it directly before it's sent.\n\n```javascript\nvar Person = AmpersandModel.extend({\n    urlRoot: 'http://otherdomain.example.com/people',\n\n    ajaxConfig: function () {\n        return {\n            headers: {\n                'Access-Token': this.accessToken\n            },\n            xhrFields: {\n                'withCredentials': true\n            }\n        };\n    }\n});\n\nvar me = new Person({ id: 123 });\nme.fetch();\n```\n\n### url `model.url or model.url()`\n\nThe relative url that the model should use to edit the resource on the server.  By default, `url` is constructed by sniffing for the model's `urlRoot` or the model's collection `url`, if present, then appending the `idAttribute` if the model has not yet been saved.  However, if the model does not follow normal REST endpoint conventions, you may overwrite it.  In such a case, `url` may be absolute.\n\n```js\n// overwrite `url()` example\nvar Person = AmpersandModel.extend({\n    props: {\n        id: 'number',\n        name: 'string'\n    },\n    url: function() {\n        var base = _.result(this, \"urlRoot\");\n        if (this.isNew()) return base;\n        return base + '/' + someCustomActionOnServerId(this.getId());\n    },\n    urlRoot: function() {\n        return '/api/' + me.apiVersion + '/persons';\n    }\n});\n\nvar bob = new Person({id: 1234, name: 'bob'});\nconsole.log(bob.urlRoot()); //=> /api/v1/persons\nconsole.log(bob.url()); //=> /api/v1/persons/some/CustomId-bob-1234\n```\n\n### urlRoot `model.urlRoot or model.urlRoot()`\n\nThe base url to use for fetching this model. This is useful if the model is *not* in a collection and you still want to set a fixed \"root\" but have a dynamic model.url(). Can also be a function.\n\nIf your model is in a collection that has a `url` you won't need this, because the model will try to build the URL from its collection.\n\n```js\nvar Person = AmpersandModel.extend({\n    props: {\n        id: 'string',\n        name: 'string'\n    },\n    urlRoot: '/api/persons'\n});\n\nvar bob = new Person({id: \"1234\"});\n\nconsole.log(bob.url()); //=> \"/api/persons/1234\"\n```\n\n## License\n\nMIT\n","maintainers":[{"email":"daniel.hritzkiv@gmail.com","name":"dhritzkiv"},{"email":"fyockm@gmail.com","name":"fyockm"},{"email":"cdaringe@gmail.com","name":"cdaringe"},{"email":"giladp007@gmail.com","name":"pgilad"},{"email":"henrik@joreteg.com","name":"henrikjoreteg"},{"email":"phil@latentflip.com","name":"latentflip"}],"time":{"modified":"2022-06-13T02:46:09.299Z","created":"2014-03-17T20:17:20.350Z","2.7.0":"2014-03-17T20:17:20.350Z","2.7.1":"2014-03-18T05:00:41.499Z","2.7.2":"2014-03-20T03:39:14.336Z","2.8.0":"2014-04-08T06:58:24.781Z","2.9.1":"2014-04-10T06:23:58.500Z","2.10.0":"2014-04-15T15:51:34.879Z","2.10.1":"2014-04-15T21:15:57.609Z","2.10.2":"2014-04-16T18:48:37.641Z","2.10.3":"2014-04-29T04:40:11.688Z","2.10.4":"2014-05-30T16:34:52.689Z","2.10.5":"2014-06-05T23:39:06.554Z","2.10.6":"2014-06-05T23:42:24.560Z","2.10.7":"2014-06-18T13:54:51.474Z","3.0.0":"2014-06-20T20:47:03.640Z","3.0.1":"2014-06-20T20:51:05.395Z","3.0.2":"2014-06-24T19:07:04.129Z","3.0.3":"2014-06-25T16:59:19.797Z","3.0.4":"2014-07-02T12:06:06.800Z","4.0.0":"2014-08-02T07:01:28.064Z","4.0.1":"2014-08-04T17:22:22.916Z","4.0.2":"2014-09-04T21:28:45.542Z","4.0.3":"2014-10-27T21:59:01.961Z","4.0.4":"2015-02-24T15:57:53.862Z","4.1.0":"2015-03-05T18:00:22.134Z","5.0.0":"2015-03-19T22:05:06.653Z","5.0.1":"2015-03-30T16:03:23.969Z","5.0.2":"2015-04-01T17:47:56.814Z","5.0.3":"2015-04-06T19:13:33.906Z","6.0.0":"2015-08-26T19:45:18.992Z","6.0.1":"2015-08-26T22:05:16.448Z","6.0.2":"2015-09-21T22:04:42.468Z","6.0.3":"2016-03-22T22:58:07.939Z","7.0.0":"2016-04-27T06:32:43.833Z","8.0.0":"2016-05-25T20:24:29.363Z","8.0.1":"2017-10-20T20:44:01.627Z"},"homepage":"https://github.com/ampersandjs/ampersand-model","keywords":["model, ampersand, state"],"repository":{"type":"git","url":"git+https://github.com/ampersandjs/ampersand-model.git"},"author":{"name":"Henrik Joreteg","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-model/issues"},"license":"MIT","readmeFilename":"README.md","users":{}}