{"_id":"simply-deferred","_rev":"44-5e23e66b1eda03ab05dc1f5d0a10ce01","name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"0.1.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"dependencies":{"underscore":""},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@0.1.0","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"b531e3233774e17e643343492a9ea4d3968c660b","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-0.1.0.tgz","integrity":"sha512-IVV95XGW15H+VbW8g1T56JwjFC11Va2rls56PVJ+Pyf8NxwtUEqSmA45MTzh3cZWbNOPUCRi3GIpoj03R49uUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6WKCyG2oxmoGi7Ej6mz/5WdyxhIO8UTqbu88OYM10ZwIgeH/QDnqJ1mtYgOzLlg/F/IsPWQo+1CZMqOUa2D3k6hI="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}],"directories":{}},"0.2.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"0.2.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"dependencies":{"underscore":""},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@0.2.0","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"81408cd51a02f7cd3303904012e1532e4eafc7e7","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-0.2.0.tgz","integrity":"sha512-VTP2768m9+QdmaMCfaNWFCW3kXPY9NHqDKqIp3iK2eLaTCZNWbDcOEX8PjeeA3kMs/8JFDaxDJMMenDjYdaacQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1P/B07cltH1/bo8iCsygCjsp0Z2Lf2PlnkDOqpYeJSAIgXTcjUXaXhP4wHEvVrMFX3tJFKdmXtIaSvzOvx63wHSk="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}],"directories":{}},"1.0.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.0.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{"underscore":""},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.0.0","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"0823e07a572721483f982496fd3e931fe9948996","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.0.0.tgz","integrity":"sha512-PYNSfcakzut5UA5MQvc4nyKXPfet70qcWVQ4j2Po13keQbZ1NnA4oh1SS46MWJVAD9VIhoRjlqiuj5EEEtn0gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX4mHJT7+bQBWCp7vdLJ4cmBr9llUFVB2yZxUJAMQX5QIgOypOj78zfjNiwyzpcJLmqaEP+xjydqqrGYjQ0y6qCOQ="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.1.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.1.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{"underscore":""},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.1.0","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"1fb962c409730abe7dec81990c68a0f8eda6b4b5","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.1.0.tgz","integrity":"sha512-fGRqX4aJghfwbsn/7t5+ITb8FGWXhiNAlrOzQYaUnR70v2Bax4oDPDE685xUDGF+6EAFjFDa0huXFa6aZ5YaMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQWJmILSOvDTkLS9VjSr8IiX7qjcwvHx3mn6DfZGAHzQIhAMP3oLs+aMuvisQmjzVJ16X0WVGKvHn3XEeAVQ4KWnhw"}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.1.1":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.1.1","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{"underscore":""},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.1.1","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"40efba588420a476a3895a2cdf3ce7d0de7001a9","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.1.1.tgz","integrity":"sha512-EFn0LSck0mOj6wQHWDNmkCOvdY/AOnEgBnYd4ApKpRfgMXMBzyULj3VjlnViEPTApTvNS2EmWpBSu+vSHI6CKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEeNY4uZC7cRMuZC9NeQ69yyBRP2bAxNrsaqaZUFqVE0AiB+UzpJBSDYNJhiH9WE0o4XsIO1Mb4Pu5Yf1cutiYeitw=="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.1.2":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.1.2","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{"underscore":""},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.1.2","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"59e70ed91a40a36c5db15ba060cca0243160f601","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.1.2.tgz","integrity":"sha512-6HXqKWn1PxZ0IEuoWHeMNirDF+4BDJpGE4obWQjmML3cZl67wWBeMW96VS+06kde/mH1BJMs+Mh2lWn4d03Q1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDdGPkEAKBSfHSDppuABdhQ/oHYhGvvHxvY9lBA2vtygIhAKZL6/rMwzhCHB+dr0qwT8ST5+/o9ql8BMaVJfM0X7Ts"}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.1.3":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.1.3","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.1.3","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"d6b72a5d7f8fc6c34e938c2bd865e95dfe2fc481","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.1.3.tgz","integrity":"sha512-mO4fpdOCVCGtbpbVnh3tHibO+CB3y5FCUa4UO4ot49/KD6WLNNQ05ykLQB5Y2eNNJAYbtnFCgFzXkD2nNfGKyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBYYzxVm91jf47wThCzRXD7pqrhRX1KkGsyvnsmNWt2KAiA8WWV/hj+DRpDr4rImUGwUq3yFGW2ywQ+kjEVPxffK7Q=="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.1.4":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.1.4","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.1.4","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"bc6450a36141026e317d726fceb771d048748fd2","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.1.4.tgz","integrity":"sha512-tT2ZWEvLBeZqrCNINPrqVPeG+DoQHfbgNhEdQhdgcNn50tWAmFIZWi5y4kb+f/4oezi7eiDRWaXgfDyI0ZokZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUJoZYYUv/s7G9loma2cG4HN0QVXEipvPLaYx8HAEWOAiBdM7FyR84p/k5wCn1b9HsMkyM68qYNSX7lqpYXdHE7jw=="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.2.1":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.2.1","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.2.1","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.8.14","_defaultsLoaded":true,"dist":{"shasum":"57a787f8fd3d8601381fdc2a18278fa4a781926b","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.2.1.tgz","integrity":"sha512-d6VusXexzEk1AeUxzlkBjfGFIpF+W4zrvVR2Sd3osW/IEoEY/4u4OYNdG4kRD4/VTsmrIcmHw+U/NdOr2QeoEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMniCVfnVkFpIhbRwIaJ1WhpMrkE47fXILqbcJTQsi/QIhAJgkeNv3MpS1wdiA8mycrVrcvtdJMBMq51/tdsXKZaM+"}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.3.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.3.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.3.0","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.8.14","_defaultsLoaded":true,"dist":{"shasum":"95116dd8c2096e92781a8405e5b7413b9c4665ee","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.3.0.tgz","integrity":"sha512-4sOJ2RE6Yk6BEG7qkPwH3+1CUcNelt78jRnXwjQl57MAlz+leXhDSITMt8XR01SeP9j8y6Dbqbtgmqwh9KBCVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDCzeNH5r1IBgcuus+Fgdvp4mxZr9OeTlY+/M1OPbBjYAiEAiNqC2hHqhlwDTkpTiSdEAWxZ/jfs8xffdB9JaU+Q5PU="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.3.1":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.3.1","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.3.1","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.8.14","_defaultsLoaded":true,"dist":{"shasum":"a4dd072296635212e359a8dc31892c018db9e95c","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.3.1.tgz","integrity":"sha512-p5WFpmWsxYE1ELC+EkdJp/cdi+/f1+LN6UMHDwCorkPXzy8/fYxS/1OGIojU4U98NLDs8DX4GYrbH/iaOR1rUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClmEJU0nOY8bS+Ia2zr+hTJJdtSWEHuCb1hcuONtkaggIgThH1kQY7xIRh9LOrYPJp1o3ltk7kQ86fEUfqZh/QgQI="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"1.3.2":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"1.3.2","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"_id":"simply-deferred@1.3.2","_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.8.14","_defaultsLoaded":true,"dist":{"shasum":"b7132934bcb67c88dc863e6874c30dac7245ffe4","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-1.3.2.tgz","integrity":"sha512-j2thVz8ICluCmdTET5O0jBOj6SDIe+ZzRT8aoIhvwnHUcuoW4lY8vYUmqT5NPLeAwlCFG/BSztO/ISGIkUQeoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUmxgh8VBysPUXrJrF23gUz9y45gWnKS41xWhRwyftAQIgeTp4TrAqQuEIDZ6nLXnvTEGI7M2qBg0qacliYIHCweQ="}]},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"2.0.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"2.0.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Simply Deferred\n###Simplified jQuery Deferred API for Node and the browser\n\n##Installation\n    npm install simply-deferred\n\nIf you're on a browser, simply include \n    https://raw.github.com/sudhirj/simply-deferred/master/deferred.min.js\n\n##Usage\n    var Deferred = require('simply-deferred').Deferred;    \n    var rendering = new Deferred();\n    rendering.done(function(){\n        console.log('Finished rendering');\n    });\n    \n    //...\n    \n    rendering.resolve();\n    \n##API\nSimply Deferred is partially compatible with jQuery's API, so the [docs and usage](http://api.jquery.com/category/deferred-object/) are the same, except that they're restricted to the following methods:\n\n* `Deferred()`\n* `deferred.state()`\n* `deferred.done()`\n* `deferred.fail()`\n* `deferred.always()`\n* `deferred.promise()`\n* `deferred.resolve()`\n* `deferred.resolveWith()`\n* `deferred.rejectWith()`\n* `deferred.reject()`\n* `deferred.pipe()`\n* `deferred.then()`\n* `when()`\n\n###Usage with Zepto\nSimply Deffered also acts as a plugin to [Zepto](http://zeptojs.com/). The absence of a Deferred library was one of the biggest reasons I've been holding back, so I thought it made sense to write one. Once you have both Zepto and Simply Deferred on your page, just do `Deferred.installInto(Zepto)` to set it up. The installation makes the following changes to bring it closer to jQuery:\n\n* Aliases the `Deferred` constructor to `$.Deferred`.\n* Aliases the `when` method to `$.when`.\n* Wraps `$.ajax` to return a `promise`, which has only the following methods: `state()`, `done()`, `fail()` and `always()`. The arguments passed to the `done` and `fail` callbacks are the same ones passed to the `success` and `error` options.\n","readmeFilename":"README.md","_id":"simply-deferred@2.0.0","dist":{"shasum":"b0391f46bce1f6ee99be3f87e95934bbbb993395","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-2.0.0.tgz","integrity":"sha512-rtIi2li3S4fFwBgdxJCeZ2gIow2S9srKqt5GLXduB+Urqb988UrKV56jXV/topFi/G/6YC8jVshRS5mT+tjSuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETFQALaIv7WZ72FuC92BefwfTQ4VktXmwDdFlMBhTp8AiBE/dpUz20lrTs/404k5mTajfXGQnkiNNfGOKKgV7Id0A=="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"2.1.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"2.1.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Simply Deferred\n###Simplified jQuery Deferred API for Node and the browser\n\n##Installation\n    npm install simply-deferred\n\n\n##Usage\n    var Deferred = require('simply-deferred').Deferred;    \n    var rendering = new Deferred();\n    rendering.done(function(){\n        console.log('Finished rendering');\n    });\n    \n    //...\n    \n    rendering.resolve();\n    \n##API\nSimply Deferred is partially compatible with jQuery's API, so the [docs and usage](http://api.jquery.com/category/deferred-object/) are the same, except that they're restricted to the following methods:\n\n* `Deferred()`\n* `deferred.state()`\n* `deferred.done()`\n* `deferred.fail()`\n* `deferred.always()`\n* `deferred.promise()`\n* `deferred.resolve()`\n* `deferred.resolveWith()`\n* `deferred.rejectWith()`\n* `deferred.reject()`\n* `deferred.pipe()`\n* `deferred.then()`\n* `when()`\n\n###Usage with Zepto\nSimply Deffered also acts as a plugin to [Zepto](http://zeptojs.com/). The absence of a Deferred library was one of the biggest reasons I've been holding back, so I thought it made sense to write one. Once you have both Zepto and Simply Deferred on your page, just do `Deferred.installInto(Zepto)` to set it up. The installation makes the following changes to bring it closer to jQuery:\n\n* Aliases the `Deferred` constructor to `$.Deferred`.\n* Aliases the `when` method to `$.when`.\n* Wraps `$.ajax` to return a `promise`, which has only the following methods: `state()`, `done()`, `fail()` and `always()`. The arguments passed to the `done` and `fail` callbacks are the same ones passed to the `success` and `error` options.\n\n###Collaborating\nPlease feel free to raise issues on github.com/sudhirj/simply-deferred/issues - both obvious bugs or incompatibilities with jQuery are welcome.\n\nIf you'd like contribute a fix or a feature, that would be even better. Please make sure all pull requests are accompanied by tests, though. \n\nIf you'd like to start work on a feature that is not part of the jQuery library, let's talk about it first - the goal here for this library to be a drop in replacement for jQuery, with the same docs and API.\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/sudhirj/simply-deferred/issues"},"_id":"simply-deferred@2.1.0","dist":{"shasum":"a2fe5f0964093ac201cde8ed2e4d153acb720c58","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-2.1.0.tgz","integrity":"sha512-qGTLFD6fE/Upay5EQVud27idSHV1TJ/XblJ3HdkMTjvy+njRMGm7racrunM/j5Hp0MFvSBNa+cDaRq3lWtg0Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHUqxAHjLsJvkoNHUFgQrefEZVQHKrdeJAFneb1AhK/QIhANNJeii038r+CDQcpGYSvVzQsC55xSvIz3Dp/ip70yXD"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"2.2.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"2.2.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Simply Deferred\n###Simplified jQuery Deferred API for Node and the browser\n\n##Installation\n    npm install simply-deferred\n\n\n##Usage\n    var Deferred = require('simply-deferred').Deferred;    \n    var rendering = new Deferred();\n    rendering.done(function(){\n        console.log('Finished rendering');\n    });\n    \n    //...\n    \n    rendering.resolve();\n    \n##API\nSimply Deferred is partially compatible with jQuery's API, so the [docs and usage](http://api.jquery.com/category/deferred-object/) are the same, except that they're restricted to the following methods:\n\n* `Deferred()`\n* `deferred.state()`\n* `deferred.done()`\n* `deferred.fail()`\n* `deferred.always()`\n* `deferred.promise()`\n* `deferred.resolve()`\n* `deferred.resolveWith()`\n* `deferred.rejectWith()`\n* `deferred.reject()`\n* `deferred.pipe()`\n* `deferred.then()`\n* `when()`\n\n###Usage with Zepto\nSimply Deffered also acts as a plugin to [Zepto](http://zeptojs.com/). The absence of a Deferred library was one of the biggest reasons I've been holding back, so I thought it made sense to write one. Once you have both Zepto and Simply Deferred on your page, just do `Deferred.installInto(Zepto)` to set it up. The installation makes the following changes to bring it closer to jQuery:\n\n* Aliases the `Deferred` constructor to `$.Deferred`.\n* Aliases the `when` method to `$.when`.\n* Wraps `$.ajax` to return a `promise`, which has only the following methods: `state()`, `done()`, `fail()` and `always()`. The arguments passed to the `done` and `fail` callbacks are the same ones passed to the `success` and `error` options.\n\n###Collaborating\nPlease feel free to raise issues on github.com/sudhirj/simply-deferred/issues - both obvious bugs or incompatibilities with jQuery are welcome.\n\nIf you'd like contribute a fix or a feature, that would be even better. Please make sure all pull requests are accompanied by tests, though. \n\nIf you'd like to start work on a feature that is not part of the jQuery library, let's talk about it first - the goal here for this library to be a drop in replacement for jQuery, with the same docs and API.\n\n","readmeFilename":"README.md","_id":"simply-deferred@2.2.0","dist":{"shasum":"bcd9ba77b0c59b0b16aec54fd25ccf4e476ea335","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-2.2.0.tgz","integrity":"sha512-tE1KU8nDHj7Y2eeml92cJgGFvhxHaX7h4IiRS4bhdJnBJpIyzc47Gue6NthcmtWsMYuiLD8OoEhVPbZSFvTjqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7xyk68f6uEXCv30WBDUJIJh46Inl3oi87K/NmG/miegIgRUAiuICNae3gBB0GPoSzyI1L7X/2osWVZDrnkQ3XJUk="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"2.3.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"2.3.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Simply Deferred\n###Simplified jQuery Deferred API for Node and the browser\n\n##Installation\n    npm install simply-deferred\n\n\n##Usage\n    var Deferred = require('simply-deferred').Deferred;    \n    var rendering = new Deferred();\n    rendering.done(function(){\n        console.log('Finished rendering');\n    });\n    \n    //...\n    \n    rendering.resolve();\n    \n##API\nSimply Deferred is partially compatible with jQuery's API, so the [docs and usage](http://api.jquery.com/category/deferred-object/) are the same, except that they're restricted to the following methods:\n\n* `Deferred()`\n* `deferred.state()`\n* `deferred.done()`\n* `deferred.fail()`\n* `deferred.always()`\n* `deferred.promise()`\n* `deferred.resolve()`\n* `deferred.resolveWith()`\n* `deferred.rejectWith()`\n* `deferred.reject()`\n* `deferred.pipe()`\n* `deferred.then()`\n* `when()`\n\n###Usage with Zepto\nSimply Deffered also acts as a plugin to [Zepto](http://zeptojs.com/). The absence of a Deferred library was one of the biggest reasons I've been holding back, so I thought it made sense to write one. Once you have both Zepto and Simply Deferred on your page, just do `Deferred.installInto(Zepto)` to set it up. The installation makes the following changes to bring it closer to jQuery:\n\n* Aliases the `Deferred` constructor to `$.Deferred`.\n* Aliases the `when` method to `$.when`.\n* Wraps `$.ajax` to return a `promise`, which has only the following methods: `state()`, `done()`, `fail()` and `always()`. The arguments passed to the `done` and `fail` callbacks are the same ones passed to the `success` and `error` options.\n\n###Collaborating\nPlease feel free to raise issues on github.com/sudhirj/simply-deferred/issues - both obvious bugs or incompatibilities with jQuery are welcome.\n\nIf you'd like contribute a fix or a feature, that would be even better. Please make sure all pull requests are accompanied by tests, though. \n\nIf you'd like to start work on a feature that is not part of the jQuery library, let's talk about it first - the goal here for this library to be a drop in replacement for jQuery, with the same docs and API.\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/sudhirj/simply-deferred/issues"},"_id":"simply-deferred@2.3.0","dist":{"shasum":"40d69e17fa527782b63c5ee1ff69bd6c83446a7f","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-2.3.0.tgz","integrity":"sha512-Yxm7q30kBpM3OPzQTA8TwTrJhX22IeozgEGxupbxskiDAlbqVHLchdvSoKc0waO/DBLAWuZj3Aay+tA3GLsGoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDvu26AT1mlggo634Qnj+kkH7WatZXX4KPr4ReCwEgbQIgYRMPjp6vu1KRqTNx/KD+LhAjTeIAhF0Tr0uRS5n8vK0="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"2.4.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"2.4.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Simply Deferred\n###Simplified jQuery Deferred API for Node and the browser\n\n##Installation\n    npm install simply-deferred\n\n\n##Usage\n    var Deferred = require('simply-deferred').Deferred;    \n    var rendering = new Deferred();\n    rendering.done(function(){\n        console.log('Finished rendering');\n    });\n    \n    //...\n    \n    rendering.resolve();\n    \n##API\nSimply Deferred is partially compatible with jQuery's API, so the [docs and usage](http://api.jquery.com/category/deferred-object/) are the same, except that they're restricted to the following methods:\n\n* `Deferred()`\n* `deferred.state()`\n* `deferred.done()`\n* `deferred.fail()`\n* `deferred.always()`\n* `deferred.promise()`\n* `deferred.resolve()`\n* `deferred.resolveWith()`\n* `deferred.rejectWith()`\n* `deferred.reject()`\n* `deferred.pipe()`\n* `deferred.then()`\n* `when()`\n\n###Usage with Zepto\nSimply Deffered also acts as a plugin to [Zepto](http://zeptojs.com/). The absence of a Deferred library was one of the biggest reasons I've been holding back, so I thought it made sense to write one. Once you have both Zepto and Simply Deferred on your page, just do `Deferred.installInto(Zepto)` to set it up. The installation makes the following changes to bring it closer to jQuery:\n\n* Aliases the `Deferred` constructor to `$.Deferred`.\n* Aliases the `when` method to `$.when`.\n* Wraps `$.ajax` to return a `promise`, which has only the following methods: `state()`, `done()`, `fail()` and `always()`. The arguments passed to the `done` and `fail` callbacks are the same ones passed to the `success` and `error` options.\n\n###Collaborating\nPlease feel free to raise issues on github.com/sudhirj/simply-deferred/issues - both obvious bugs or incompatibilities with jQuery are welcome.\n\nIf you'd like contribute a fix or a feature, that would be even better. Please make sure all pull requests are accompanied by tests, though. \n\nIf you'd like to start work on a feature that is not part of the jQuery library, let's talk about it first - the goal here for this library to be a drop in replacement for jQuery, with the same docs and API.\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/sudhirj/simply-deferred/issues"},"_id":"simply-deferred@2.4.0","dist":{"shasum":"506ddd68e8b75848d5b4fbe3e46804acea86ae61","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-2.4.0.tgz","integrity":"sha512-8isl2vlrGA347UnBDLZpbo34PkUV70nIQutmC8T8VBC47wenV+kaSLqMnsrmtLN4LX1BQqgBrdz5h3JTTIKOrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCgpicLdewZKzlA7FbdGSuU5BY9NHCJ5+or4GexCOxmrAIfU+t/yEpjYWvEmP5GBZ978jPJqNHa0Hh1Kc5JY0K5gA=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]},"3.0.0":{"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"name":"simply-deferred","description":"A deferred library for Node.js and the browser with a simplified jQuery compatible API","version":"3.0.0","homepage":"http://sudhirj.github.com/simply-deferred/","repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"main":"./deferred","dependencies":{},"devDependencies":{"mocha":"","underscore":""},"optionalDependencies":{},"engines":{"node":"*"},"readme":"#Simply Deferred\n###jQuery-like Deferred API for Node and the browser\n\n##Installation\n    npm install simply-deferred\n\n\n##Usage\n    var Deferred = require('simply-deferred').Deferred;\n    var rendering = new Deferred();\n    rendering.done(function(){\n        console.log('Finished rendering');\n    });\n\n    //...\n\n    rendering.resolve();\n\n##API\nSimply Deferred is fullly compatible with jQuery's API, so the [docs and usage](http://api.jquery.com/category/deferred-object/) are the same. Like the jQuery deferred API, it provides the following methods:\n\n* `Deferred()`\n* `deferred.state()`\n* `deferred.done()`\n* `deferred.fail()`\n* `deferred.progress()`\n* `deferred.always()`\n* `deferred.promise()`\n* `deferred.notify()`\n* `deferred.notifyWith()`\n* `deferred.resolve()`\n* `deferred.resolveWith()`\n* `deferred.rejectWith()`\n* `deferred.reject()`\n* `deferred.pipe()`\n* `deferred.then()`\n* `when()`\n\n###Collaborating\nPlease feel free to raise issues on [github.com/sudhirj/simply-deferred/issues](https://github.com/sudhirj/simply-deferred/issues) - both obvious bugs or incompatibilities with jQuery are welcome.\n\nIf you'd like contribute a fix or a feature, that would be even better. Please make sure all pull requests are accompanied by tests, though.\n\nIf you'd like to start work on a feature that is not part of the jQuery library, just raise an empty pull request and let's talk about it first - the goal here for this library to be a drop-in replacement for jQuery, with the same docs and API.\n\n###Support\nIf you'd like to financially support the development of this library or just say thanks, you can send Bitcoin to `18TAaTamWaiv7cMK6FdbYeRzJUqBnECEah`. I'm also available to consult on how promises can improve your codebase - mail me at sudhir.j+github@gmail.com\n\n###Usage with Zepto\n\n**Zepto now has a [deferred module](http://zeptojs.com/#modules) available, so you might want to use that if Zepto is your primary reason for using Simply Deferred.**\n\nSimply Deffered also acts as a plugin to [Zepto](http://zeptojs.com/). The absence of a Deferred library was one of the biggest reasons I've been holding back, so I thought it made sense to write one. Once you have both Zepto and Simply Deferred on your page, just do `Deferred.installInto(Zepto)` to set it up. The installation makes the following changes to bring it closer to jQuery:\n\n* Aliases the `Deferred` constructor to `$.Deferred`.\n* Aliases the `when` method to `$.when`.\n* Wraps `$.ajax` to return a `promise`, which has only the following methods: `state()`, `done()`, `fail()` and `always()`. The arguments passed to the `done` and `fail` callbacks are the same ones passed to the `success` and `error` options.\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/sudhirj/simply-deferred/issues"},"_id":"simply-deferred@3.0.0","dist":{"shasum":"6d66a064c1f2b07111c804e0ec4325a7b518629d","tarball":"https://registry.npmjs.org/simply-deferred/-/simply-deferred-3.0.0.tgz","integrity":"sha512-r9JW995oSr+WgX4ZuvpqfBmL7fH300gIGqCDMSEZJwhsrAXwk/NetYMc7Lkjv4KiIkJzr92fBlphFo4m3OrDbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0Ba0oScv9t1sKGSkCI98ZCn34QQK6xWFvz23j7tcAhAiEA0o/aIFhBscCM1eSXR1H5+SKf61uREqlOebhi5DiNFWU="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"sudhir.j","email":"sudhir.j@gmail.com"},"maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}]}},"readme":"deferred\n========\n\nA deferred library for Node.js and the browser with a jQuery compatible API","maintainers":[{"name":"sudhir.j","email":"sudhir.j@gmail.com"}],"time":{"modified":"2022-06-26T20:08:41.710Z","created":"2012-04-26T03:12:51.377Z","0.1.0":"2012-04-26T03:12:56.270Z","0.2.0":"2012-04-26T18:17:34.441Z","1.0.0":"2012-04-29T08:51:38.541Z","1.1.0":"2012-05-10T18:11:12.906Z","1.1.1":"2012-05-10T18:23:57.745Z","1.1.2":"2012-05-11T16:24:46.937Z","1.1.3":"2012-06-04T17:51:31.741Z","1.1.4":"2012-06-05T05:17:22.045Z","1.2.1":"2012-11-17T16:44:24.243Z","1.3.0":"2013-01-28T22:59:58.114Z","1.3.1":"2013-02-01T16:08:48.484Z","1.3.2":"2013-02-07T17:13:56.181Z","2.0.0":"2013-04-12T20:07:59.507Z","2.1.0":"2013-07-10T12:43:42.152Z","2.2.0":"2013-07-27T10:49:15.816Z","2.3.0":"2013-08-04T13:50:32.678Z","2.4.0":"2013-10-17T06:07:35.781Z","3.0.0":"2014-01-05T18:40:12.766Z"},"author":{"name":"Sudhir Jonathan","email":"contact.me@sudhirjonathan.com","url":"http://www.sudhirjonathan.com"},"repository":{"type":"git","url":"git://github.com/sudhirj/simply-deferred.git"},"users":{"chrisdevwords":true}}