{"_id":"fantasy-promises","_rev":"11-719b5188cb5aae4f73229afaa83121f1","name":"fantasy-promises","description":"Fantasy Land compatible monadic promises","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"fantasy-promises","version":"0.0.1","description":"Fantasy Land compatible monadic promises","main":"index.js","scripts":{"test":"node_modules/.bin/nodeunit test.js"},"repository":{"type":"git","url":"git://github.com/pufuwozu/fantasy-promises.git"},"keywords":["promise","promises","fantasyland","monad","async","asynchronous","deferred"],"author":{"name":"Brian McKenna"},"license":"MIT","devDependencies":{"emu":"0.0.2","nodeunit":"~0.8.0"},"_id":"fantasy-promises@0.0.1","dist":{"shasum":"5efafa8fbbd70cc07fb0b00f57bba6c918cdba63","tarball":"https://registry.npmjs.org/fantasy-promises/-/fantasy-promises-0.0.1.tgz","integrity":"sha512-X8Gwy5aN4XO4kt9pllyrrq+CS00glF4O7MBHxwqpcyXlg4CtnRfxzrBYzEHDCiwY8Qp524HAUAU7R7bygxb5Sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFqfG05ueZfFGwSUrQN8kTgKv487Idhxn9wEvFrinVVAiAzfySV8FrAxxljcpTxkdGuiXv3zcIdvhwdbOCeW1SWhw=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"puffnfresh","email":"brian@brianmckenna.org"},"maintainers":[{"name":"puffnfresh","email":"brian@brianmckenna.org"}]},"0.1.0":{"name":"fantasy-promises","version":"0.1.0","description":"Fantasy Land compatible monadic promises","main":"index.js","scripts":{"readme":"$(npm bin)/emu < index.js > README.md","test":"$(npm bin)/nodeunit test.js"},"repository":{"type":"git","url":"git://github.com/pufuwozu/fantasy-promises.git"},"keywords":["promise","promises","fantasyland","monad","async","asynchronous","deferred"],"author":{"name":"Brian McKenna"},"license":"MIT","devDependencies":{"emu":"0.0.2","nodeunit":"~0.8.0"},"bugs":{"url":"https://github.com/pufuwozu/fantasy-promises/issues"},"_id":"fantasy-promises@0.1.0","dist":{"shasum":"2b44c4fa0589b559212ced2b399de383a7104020","tarball":"https://registry.npmjs.org/fantasy-promises/-/fantasy-promises-0.1.0.tgz","integrity":"sha512-M/4skoL4nzpnv20oEXTuerOjP8ySxD6Z/gtPukwdxiRjCB3li+y5jYyzl8Nzk4QRLrIcYB49se6BgH2wU4m0GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEnT6mQz2dn01hB2KAzKlB74vx9pAl2EIskA/7Ei5qLAiBoOS3GW1JqmTqr7fpMls0jwVfzoe/kopGqJwAZkeyFDA=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"puffnfresh","email":"brian@brianmckenna.org"},"maintainers":[{"name":"puffnfresh","email":"brian@brianmckenna.org"}]}},"readme":"# Fantasy Promises\n\nThis library implements purely functional, monadic promises.\n\n## `Promise(fork)`\n\nPromise is a constructor which takes a `fork` function. The `fork`\nfunction takes one argument:\n\n### `fork(resolve)`\n\nThe `resolve` callback gets called on a value.\n\n### `Promise.of(x)`\n\nCreates a Promise that contains a successful value.\n\n### `chain(f)`\n\nReturns a new promise that evaluates `f` when the current promise\nis successfully fulfilled. `f` must return a new promise.\n\n### `map(f)`\n\nReturns a new promise that evaluates `f` on a value and passes it\nthrough to the resolve function.\n\n### `extract()`\n\nExecutes a promise to get a value.\n\n### `extend(f)`\n\nReturns a new promise that evaluates `f` over the promise to get a\nvalue.\n\n## Fantasy Land Compatible\n\n[\n  ![](https://raw.github.com/pufuwozu/fantasy-land/master/logo.png)\n](https://github.com/pufuwozu/fantasy-land)\n","maintainers":[{"name":"puffnfresh","email":"brian@brianmckenna.org"},{"name":"trevorbasinger","email":"trevor.basinger@gmail.com"}],"time":{"modified":"2022-06-17T23:31:48.551Z","created":"2013-04-19T03:03:54.021Z","0.0.1":"2013-04-19T03:03:56.299Z","0.1.0":"2013-07-09T19:13:22.870Z"},"author":{"name":"Brian McKenna"},"repository":{"type":"git","url":"git://github.com/pufuwozu/fantasy-promises.git"},"keywords":["promise","promises","fantasyland","monad","async","asynchronous","deferred"],"bugs":{"url":"https://github.com/pufuwozu/fantasy-promises/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rockymadden":true}}