{"_id":"memorize-middleware","_rev":"38-1f039fc2f68c646dfff7d15f6d8584d7","name":"memorize-middleware","description":"Cache req changes and apply them later","dist-tags":{"latest":"4.0.0"},"versions":{"0.0.0":{"name":"memorize-middleware","version":"0.0.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^1.0.0"},"_id":"memorize-middleware@0.0.0","_shasum":"5b71d260c4fe5cad8249dbcc00b08334681d0a1a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"5b71d260c4fe5cad8249dbcc00b08334681d0a1a","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.0.0.tgz","integrity":"sha512-t4yh37JVP4c9NDQas1j8SStUWJ3yQBBY8mS2uEXD5f3opgHxzdmaMDH9+cbyhD+apsoOiE1SkH1yHO/PzgWyGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNrC2lrx5EDihRtTIwLvEzm4i1Y0bRe10lxdcrZOjxQAiA6uftMW1E0ro/5vCQYP24sWlp9NXnRiW1j4vj46pvOLQ=="}]},"directories":{}},"0.1.0":{"name":"memorize-middleware","version":"0.1.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^1.0.0"},"_id":"memorize-middleware@0.1.0","_shasum":"776e529c9e233b1307f34092b299a10fb3eecd0a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"776e529c9e233b1307f34092b299a10fb3eecd0a","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.1.0.tgz","integrity":"sha512-Ipi84bElvKVi2LTwdRu/YxIEEJK8amuNHlBl7AAwDNNVyidD0HGPqcZFi+CpfEGoNvvuL9q2Vqy5u5WYNjUhoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEiZgWI6P5nGrI1kkdfC6Vcrqsuq0GWJC1HtjQw9TMkLAiEAv3L+qpax50js+AUJSmGyykryVzbyzUqdDEXrjsDoeIU="}]},"directories":{}},"0.1.1":{"name":"memorize-middleware","version":"0.1.1","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^1.0.0"},"_id":"memorize-middleware@0.1.1","_shasum":"0aecb02e3e9c72f87527609f7c792e594178e7f7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"0aecb02e3e9c72f87527609f7c792e594178e7f7","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.1.1.tgz","integrity":"sha512-C26CGMjTL5+2SkQXxOj+SLGlOMcQTyVe1fxXqP6NBINn3BoByERaP0uavazMUjLdzq1/6c36yjcrl53NFXkNsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0uSLJIl2kcskJBwOEixxE1oItg+TwwjsDciGMOyM5mAiAZgf+Qy1wsIyl9dYoyofsKtU/6U/y1TWQd8rIcL7mfUw=="}]},"directories":{}},"0.2.0":{"name":"memorize-middleware","version":"0.2.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.1.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.2.0","_shasum":"3c2c3a12673cfb5556466aee98bfb21c6e1f347f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"3c2c3a12673cfb5556466aee98bfb21c6e1f347f","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.2.0.tgz","integrity":"sha512-i7YKu+mwA9LyusKq43OUNQ61iZsOXv+GAUVyBl9h6Cq9HM+FkiFh2re8uzAire04QYz5fweW7MGK526q4pj2UA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt5I1wklxyNto7eD6lo+CSeUaEdZsKjDQwjRvaZDnknAIhAJtYsklRRQJkcX25YqZ/7UAh1a3o1DcIYzMt5AdQWDFl"}]},"directories":{}},"0.3.0":{"name":"memorize-middleware","version":"0.3.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.1.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.3.0","_shasum":"dbc9dbc9b81620d069286bf2d52ea99b0b714436","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"dbc9dbc9b81620d069286bf2d52ea99b0b714436","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.0.tgz","integrity":"sha512-bStWSPmbgaXSvy9TiNDwefE5U+RRa31JE5VSJQexKh9YWoTaMYlAEWfDgmPNL8yaIVpWPJpOosOMMxFVfy8r2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBh/SUslubK06zK2h4zr4+G/NP4kLFqmo2wiKl/GMaOgIhAOcDfpRMlbebX87q0spqWSM/INqkFzODyC3raxYDzrZc"}]},"directories":{}},"0.3.1":{"name":"memorize-middleware","version":"0.3.1","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.1.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.3.1","_shasum":"4168522bde58fb414797316e01d10b8d7460ec5a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"4168522bde58fb414797316e01d10b8d7460ec5a","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.1.tgz","integrity":"sha512-quAKdd8aZOlJZSog6yopgd8x8JotdjJRWw5cgxoYRtBi1GdLTnhN2VYIIekx7PMdUoB1uF3GRxKbu1aa56M6Eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBB5/cS9bZq3jMaBwWIYnu1zUrgqt/2jBbQ9hRYVwlvfAiAK9teDNT3169nfPEHrnTuX65/YxulIdVCxGEpBky3sCA=="}]},"directories":{}},"0.3.2":{"name":"memorize-middleware","version":"0.3.2","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.1.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.3.2","_shasum":"269bf357c081cab5281869548224072ab0207377","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"269bf357c081cab5281869548224072ab0207377","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.2.tgz","integrity":"sha512-Wzhsb1TpCQN/CpNoNZ17u4WPZszIv/yyJQffgWMyIpyDIjXqq7N2n1wtwHL1Hsr+uc9zImHELu1Ae4cKpFunaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEP+C3nNEDHAEzX+kshrxHHwCY1qGZZWtxSBtk91V5eHAiBGMncKBDlVotFRZ98xilFFIsI/aNl1/0VB1eZ5R+IPuw=="}]},"directories":{}},"0.3.3":{"name":"memorize-middleware","version":"0.3.3","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.2.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.3.3","_shasum":"d84bc7839105b83a02dad78d6109ffba0c8ec8d5","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"d84bc7839105b83a02dad78d6109ffba0c8ec8d5","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.3.tgz","integrity":"sha512-CKTHPbZ5FMU9yJB14cPL6lYkOgfh4hix9G92CxocIe0vnChnLmcZRO3+R11X603k15KQtraEBn/mglAKRA1uGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWnfcmvC1n/Z9F6VNUP1vJmc1+IAS/PV7Z56sLNgdvngIhAOhZHSZKoM3l+aro7Jm9G3Gs1+mD3TddXY9Sc1yg3XwD"}]},"directories":{}},"0.3.4":{"name":"memorize-middleware","version":"0.3.4","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.1.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.3.4","_shasum":"135f659a2f141e9efdc327a2beab2938cb4a7836","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"135f659a2f141e9efdc327a2beab2938cb4a7836","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.4.tgz","integrity":"sha512-Kcq/styyGAN8GyVrRHkL68e/SRdoVKfeJBvIOyO1SMnfW3siw2uLWH39s+DH0YclF3RCPlD6t9Q73BgFahNCFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKjERr/Zj4vis0YajMtYqjlf9z8KCpJGhw/z5ehkyTLAIhALqzJKeDApSFtbXGGLWa1GVq4CEBVBUgmOspFF3m0FhZ"}]},"directories":{}},"0.3.5":{"name":"memorize-middleware","version":"0.3.5","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.1.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.3.5","_shasum":"9bf2da9e6ac9d28f7bfe26a8a82b6d2b844bbe18","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"9bf2da9e6ac9d28f7bfe26a8a82b6d2b844bbe18","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.5.tgz","integrity":"sha512-OZa4n8zMBBn92PFINKqTY9bIJOoXs1Akci9rolKMYwexjTF/6FfYypfVUxnKPM8/GN1SgLLtuiA7fO6/yEMxpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaupJV0/9l9HDeWZfJK1MaSkXSrYxjbjjuqU7+jg3BmQIhAMj6K7Icxv8Sd9u6z4HyoQklqB7Ble0Wgfq/HdH0oKkX"}]},"directories":{}},"0.3.6":{"name":"memorize-middleware","version":"0.3.6","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"after-event":"^0.1.0","object-assign":"^1.0.0"},"_id":"memorize-middleware@0.3.6","_shasum":"8f7ef6545b9f5fc9b5cc56265537313417959a54","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"8f7ef6545b9f5fc9b5cc56265537313417959a54","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.6.tgz","integrity":"sha512-L1y5C0eGoScU0hnj2tsOlV8ErJpysygRrdE+RNe5CIET+oyu8Hj+YGmUgaVYkwZ51O2R6NBwRNTA7C5hMIZS8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUYCoedy3CDU1Vv/oB6CAVHMnGgm2UaJ67IvwpncdglAiEAkQoCYqZkz46BfARMRgS9+ObgO2XMaJT7UzO+7RBtb54="}]},"directories":{}},"0.3.7":{"name":"memorize-middleware","version":"0.3.7","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^2.0.0"},"gitHead":"5df2af9dfbdb00d53ce684eb58aeaeac0ddb2cfe","_id":"memorize-middleware@0.3.7","_shasum":"48d1816131f6a1420eb66ab42a12883052f4158b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"48d1816131f6a1420eb66ab42a12883052f4158b","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-0.3.7.tgz","integrity":"sha512-NDP0SbLu0WMakrM4VT8spyYbc8rHvkORnfnd+r4D2bEn6Vok07bpNNI24PurVbZ5AZ7jDfoZHuZZyxK1vIP9og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3GjRiukFy7vAYTXqbTUJrD6wJrhnV/w5L/4g6gqGGSAiEA26pCsB8pFhafDZFQ0G91bpR33+zrs0oYRphHAa6cLXw="}]},"directories":{}},"1.0.0":{"name":"memorize-middleware","version":"1.0.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^2.0.0"},"gitHead":"73d51792e5a9dfcde1143b572f163f514bbb5172","_id":"memorize-middleware@1.0.0","_shasum":"7e38734ea8cf87a6efb9d1e10fb2cc98ae9efdfe","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"7e38734ea8cf87a6efb9d1e10fb2cc98ae9efdfe","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-1.0.0.tgz","integrity":"sha512-208hEbBWU9yIEpCextGuNN4aU4YzleSCgt2JgdbF0l3ubBPMnIXABplPE9DbUMT3+1Zkp996byim42D3Ow5MCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBIW8NOifSlrgfhxNSavWeu0jB+vKteGhqXMsw+mb1JQIgZRhyCPE1RQHJLlS8hGGx7oiJ/Td/lLkI6gdZLIRMmiU="}]},"directories":{}},"2.0.0":{"name":"memorize-middleware","version":"2.0.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^2.0.0"},"gitHead":"f779cb5e19ce5b933041aae453ba6e233daf9793","_id":"memorize-middleware@2.0.0","_shasum":"2bfc2b453a574acfbe0afabe594f037d653f9391","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"2bfc2b453a574acfbe0afabe594f037d653f9391","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-2.0.0.tgz","integrity":"sha512-hLkd1GkLmgzlWWJFC7YdGv/MWPqPnKgrksQxgxj1ZdVbclDd8jXQCO0vp7QELcTiDJVlN/xFv8AIctf07mt+WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMZpePRXYzzLMxbiE0bSk36UHDlqbTDLQGilc+ST109AiEAlBmqvsGPf7u5ClcxTxdocIl2efF5MhSyHQer0bfNZBc="}]},"directories":{}},"2.0.1":{"name":"memorize-middleware","version":"2.0.1","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^2.0.0"},"gitHead":"f0c6b0416e7151062b1b73bd1349abe845c57d9c","_id":"memorize-middleware@2.0.1","_shasum":"ee098fa720eeaea69c5bec6e6285d72e0800a3de","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"dist":{"shasum":"ee098fa720eeaea69c5bec6e6285d72e0800a3de","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-2.0.1.tgz","integrity":"sha512-uh0psREgJnqmh4o9YkvSYYfX7vAehIZ6E6KLxuuFS/vTGs1h+e3IYy4PW6w7VyTqB0Nkw/XuyrvqNAX2DTJOSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrLsCHjj6QcjmO46SCdro4EfB+JLqRUZYZ/z48mvFgAgIgRsGA12TSYkyobSLaFVuSQdsUokiX7bERu5HkV10oz0E="}]},"directories":{}},"2.0.2":{"name":"memorize-middleware","version":"2.0.2","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"dependencies":{"object-assign":"^2.0.0"},"gitHead":"228d70d49d026eddce0f0ce4902aa6f9f49955ad","_id":"memorize-middleware@2.0.2","_shasum":"2dd5e8d9cdc1a308811da820755f3ec2a3da9b7c","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"dist":{"shasum":"2dd5e8d9cdc1a308811da820755f3ec2a3da9b7c","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-2.0.2.tgz","integrity":"sha512-IEVp+yJ5Xll5wSEy/lGqUO8bpbuACy94OMvNA0sRTMo0n2sXaxtydjsJjvZMwGA3jDTu/0R7T+XS3dz/K5fwPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdB8UPMx3goL0EN/xNVoB9+VtJz2zpJlwVez2lzPmhpAIhAJ2S4JC6Zdts5jMm4mXvbZ9KG2O8A+MZQsQhgjSkyjoQ"}]},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"directories":{}},"3.0.0":{"name":"memorize-middleware","version":"3.0.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"eslint . && mocha -R spec"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"eslint":"^1.0.0","eslint-config-xo":"^0.1.0","mocha":"^2.2.5"},"dependencies":{"object-assign":"^3.0.0","pinkie-promise":"^1.0.0"},"eslintConfig":{"extends":"xo"},"gitHead":"5618ad4a56d21a5af0c4b15aa1ad0d4621963fab","_id":"memorize-middleware@3.0.0","_shasum":"71d0cddffebbf463346a136f40ce77adba277709","_from":".","_npmVersion":"2.13.3","_nodeVersion":"2.5.0","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"dist":{"shasum":"71d0cddffebbf463346a136f40ce77adba277709","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-3.0.0.tgz","integrity":"sha512-0BVJ+hUdA1V6p3OniRMv4LV/rY5wXc0zbw0tEfYdGJY2Q6yV8nnTf0R6klMBVvhGfT1nAfHjK090AsN2I835Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGY/SWeWOinlXWh4aHNyQakH0xlS/NAif0w01KzHqo4IAiEA0mkvGjVLZXIUnzkOndM9Q2CuMj6RYb/9tFKKD+VeTdQ="}]},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"directories":{}},"4.0.0":{"name":"memorize-middleware","version":"4.0.0","description":"Cache req changes and apply them later","main":"index.js","scripts":{"test":"xo && ava"},"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"keywords":["express","memorize","middleware"],"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"homepage":"https://github.com/floatdrop/memorize-middleware","devDependencies":{"ava":"^0.25.0","mocha":"^2.2.5","xo":"^0.22.0"},"gitHead":"5f4d6a4794207f4b2664912594bc56c971e12530","_id":"memorize-middleware@4.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"floatdrop","email":"floatdrop@gmail.com"},"dist":{"integrity":"sha512-+vkq0GiM7UOw55XEbFJttsvFJMxfLwHoKmXKzqeqkFr1eOwgArgycXZrn03INWL06eikMhios4Zzkg8GA3kAOw==","shasum":"1bfc0dba6c426d58f765317f76768932e2ddd8a1","tarball":"https://registry.npmjs.org/memorize-middleware/-/memorize-middleware-4.0.0.tgz","fileCount":4,"unpackedSize":5349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgUhACRA9TVsSAnZWagAAvlAP/0XAaIxr6vM8+1f3oZuv\ntzUERPrVqCtbx1E1mWK0xuyFsXWZmynCuOENV2RjeQb1/yJSyKA5bJkzohjq\n3ThoRxDzJ9Rq42mryPfZXm1eQJXeJ2z8kjSxVTv9B+m8viBLuYG6hZck3bIV\nYGKMf5wdGmMqBuF6sMrJGs5Bhn6OLWuTok/fqjcIA/VddXopk3QMN5+7SGTm\nEEoJo9QkCpgZbPl6oMnC+FYH0GVN55mol01ZPDAsRWGMKdNxYHaRPjF0/TId\nRgvL2NTEvkUaLVKpjm/Q9gz+aJfct+07DG48/8hqi5JMtM4tR3QXieRkeRdR\ndnUmI5MkTl5Vr3exeqDO/rH/eMpJXYpjaE+/e0LMCZzddJqnv5zqhEZn7MSC\nbOjGV8Pdxxfzh9aipZkQ6Lkp0qe+YbvofLw/45yKjD3/ioegSUEIZqdaVX5i\n28nz9cCNFnCVo3vV1hjea+OTtWcHDC2rveCxzNoMKJeyBWnPinfTLqm6tYJI\neEFc91x51sk8ikHivo3ErHaY+XRGIklXYAGMD0Uv6JQtPjV6yQ/FPKMQunH0\n/eCWJUfLuNmHIPrxYkDO05Ge2mk8XWXcCqXfTgBgbv5euJJhTNLcEXDmyxra\nfK2yeK0+85cB5fWtBQN9ER0GrA8fJCLlV7i9gvMfc5pdnd2adUo0S4EIQI4J\np6EK\r\n=SZ+w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDnfA4wF3Z+1L9929XOaZW49dQss3y1HiltA/TyK7R3+AiEAz85pbXfbtuumQaEbzroQRtHwYVgJHqUbCdpvZBqvWXg="}]},"maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/memorize-middleware_4.0.0_1535199295541_0.761236230273274"},"_hasShrinkwrap":false}},"readme":"# memorize-middleware [![Build Status][travis-image]][travis-url]\n\n> Save changes, that middleware did on req and apply them after\n\n## Usage\n\n```js\nvar express = require('express');\nvar app = express();\nvar memorize = require('memorize-middleware');\n\nvar middleware = function (req, res, next) {\n    console.log('Called once');\n    req.message = 'Boop!';\n    next();\n};\n\napp.use(memorize(middleware));\napp.get('/', function (req, res, next) {\n    res.send(req.message);\n});\n\napp.listen(8080);\n```\n\n### States\n\nThere are couple states in which `memorize` works:\n\n1. __No cache__ - all requests will be halted, while result is pending.\n2. __Middleware failed and there is no cached value__ - Error will be passed to next middleware.\n3. __Result recieved__ - It will be stored, all pending clients will get result, all next clients will get this result instantly. If `updateInterval` set - it will be scheduled.\n\nIf `updateInterval` is set:\n\n1. __Middleware failed in update time__ - Nothing will happen, all clients will recieve previous version, new update will be scheduled.\n2. __Result recieved in update time__ - Previous result will be swapped with new one.\n\n## API\n\n### memorize(middleware, [options])\n\nCreates middleware, that will call `middleware` and cache changes, that it did to req object.\n\n#### middleware\nType: `Function`\n\nMiddleware, which changes should be cached.\n\n#### options\n\n##### updateInterval\nType: `Number`  \nDefault: `0` — never\n\nHow often (in milliseconds) should `memorize` request new data for middleware. Don't make it too low.\n\n## License\n\nThe MIT License (MIT) © [Vsevolod Strukchinsky](floatdrop@gmail.com)\n\n[travis-url]: https://travis-ci.org/floatdrop/memorize-middleware\n[travis-image]: http://img.shields.io/travis/floatdrop/memorize-middleware.svg?style=flat\n","maintainers":[{"name":"floatdrop","email":"floatdrop@gmail.com"}],"time":{"modified":"2022-06-19T17:45:53.909Z","created":"2014-09-22T06:28:04.895Z","0.0.0":"2014-09-22T06:28:04.895Z","0.1.0":"2014-09-22T07:35:28.533Z","0.1.1":"2014-09-22T07:37:59.172Z","0.2.0":"2014-09-23T06:21:17.758Z","0.3.0":"2014-09-23T07:44:40.592Z","0.3.1":"2014-09-23T07:45:58.020Z","0.3.2":"2014-09-23T07:49:58.928Z","0.3.3":"2014-10-20T09:38:21.260Z","0.3.4":"2014-10-20T13:46:04.999Z","0.3.5":"2014-10-20T14:10:23.213Z","0.3.6":"2014-10-20T14:11:44.941Z","0.3.7":"2014-11-27T07:33:04.679Z","1.0.0":"2015-02-11T07:38:05.543Z","2.0.0":"2015-04-14T16:11:06.469Z","2.0.1":"2015-04-15T04:30:13.408Z","2.0.2":"2015-07-10T16:25:36.249Z","3.0.0":"2015-08-02T19:12:09.058Z","4.0.0":"2018-08-25T12:14:55.636Z"},"homepage":"https://github.com/floatdrop/memorize-middleware","keywords":["express","memorize","middleware"],"repository":{"type":"git","url":"git://github.com/floatdrop/memorize-middleware.git"},"author":{"name":"Vsevolod Strukchinsky","email":"floatdrop@gmail.com"},"bugs":{"url":"https://github.com/floatdrop/memorize-middleware/issues"},"license":"MIT","readmeFilename":"readme.md"}