{"_id":"post-office","_rev":"54-dc9c02efda80fa12afc0c943a86d08fe","name":"post-office","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","dist-tags":{"latest":"0.3.2"},"versions":{"0.0.1":{"name":"post-office","version":"0.0.1","description":"The idea behind post office is to allow developers to focus on service end code and not routing and presentation logic. The main implementation of Post Office is based around *Message Based Service Design*, a pattern which maps sources to strongly typed m","main":"src/index.js","scripts":{"test":"mocha"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1"},"devDependencies":{"should":"^5.0.1"},"gitHead":"a7c637251e1712c8348323d3255d4f9c3079ac58","_id":"post-office@0.0.1","_shasum":"b1560d1d2e952b1bd8fff58f59b9baead2b1ede5","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"b1560d1d2e952b1bd8fff58f59b9baead2b1ede5","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.0.1.tgz","integrity":"sha512-zO891y7b9vepfVu45OCfZ7Pzy/z4/WxHeybQ23TAUkUKdNwGXKG6uwaOcn9hdVP7F22b9D/2HQ2rymoid5Mmfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEo3/ESlRzNhESfdffVGH5ps8uh2ZjAQPO17gwoU9eRJAiEAiSuX8iecr6dpxmVE+NxV6omNrH396k0/UQUjN9YT7j0="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.0.2":{"name":"post-office","version":"0.0.2","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1"},"devDependencies":{"should":"^5.0.1"},"gitHead":"a7c637251e1712c8348323d3255d4f9c3079ac58","_id":"post-office@0.0.2","_shasum":"a83ecc2cbf6acab18c86f056073b1ef77a68de27","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"a83ecc2cbf6acab18c86f056073b1ef77a68de27","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.0.2.tgz","integrity":"sha512-HysNA/i/GvrBa/hLcXlXL9vbxdwYm9g/KrfZcz668hbw9PY2kIaZVKG3d8ubKbQfGkwJxSl1fOwSaULUw2mDnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBffwRbf97RGs4t5WV4wGF6qL4UO28KhsQrecOBv7JaGAiBagF5GnDi1ATcmmaP3/IhojSmZKn6AUooK9iD5nAw3PA=="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.0.3":{"name":"post-office","version":"0.0.3","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1"},"devDependencies":{"should":"^5.0.1"},"gitHead":"51a1859c05f8d4e6249c6a5d848dacce740b1690","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.0.3","_shasum":"88446926186cd2a6cd27196491f9e27e3eee770e","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"88446926186cd2a6cd27196491f9e27e3eee770e","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.0.3.tgz","integrity":"sha512-kdZpyerzlJyiEG7ZXcNlnyn1jz1R/eRX/u7N2dH43hLYef8FJ9QDr4jAix7FOQ6qqmRXM5dV2bKjZjhi47fQRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBe0O94DmS/F8yybwRZOfN7Lj4xwsRQ59ewB8H49yaVQIgdjPqjzD1LmguWVDe7Vh8FQA32IIvWjXlCLqCXT6X02s="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.0.4":{"name":"post-office","version":"0.0.4","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1"},"devDependencies":{"should":"^5.0.1"},"gitHead":"b9dbcd6cfc6d8a82c6c4a4bba522f7ff1e90117d","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.0.4","_shasum":"956909e17db97e7fa423deae2272f0c7cc0f47bc","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"956909e17db97e7fa423deae2272f0c7cc0f47bc","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.0.4.tgz","integrity":"sha512-pys7p1czvhtdtVAjldtSILCW6Yc9cKUrFTnDV7/pj659gPu8djNHmmd1jBMSS1wdo9FS4oaIFAeK8RdZhmP20w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5lXAC5KgD+qISnR2s6Yteuy/lC2kF5ujerlt4Mmr5bQIgN78yn7zkfVW3D7ozfizQaw1xWq/tnX6aygQpGnMUG7Y="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.1":{"name":"post-office","version":"0.1.1","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1"},"devDependencies":{"should":"^5.0.1"},"gitHead":"eab9ed0834178ce31f7f70e3d4005dee88ba8062","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.1","_shasum":"7183b2f1320fb1f5b3d826b503c5ab2bbf9df74d","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"7183b2f1320fb1f5b3d826b503c5ab2bbf9df74d","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.1.tgz","integrity":"sha512-BQme8u9iu0BA2WJubI+VD4KsviAYznYZYzVgMUKQwCh/fgtXQGn0Qh+sxTsug7j4RAQ1/Avw3FbKY5v3Pu/XUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBa+2/yhOsZxbmIOs9MCqw55fyPMw/Zf3dLF0cLSwNyAiBbbX8Efzf1Jdw7jsh80RTC8gyTP1n0WKwcaqtmjAJKWw=="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.2":{"name":"post-office","version":"0.1.2","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1"},"devDependencies":{"should":"^5.0.1"},"gitHead":"adbccf683b59e0a73c86adc28788b733be83fe79","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.2","_shasum":"41acba7e67e7a54cfaa87f83db5474d907fb7449","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"41acba7e67e7a54cfaa87f83db5474d907fb7449","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.2.tgz","integrity":"sha512-NG5s3pDRe8qF5KPDZ7ILqdJJXKcJCmWANRNa4xmt9RjhSR8wPxgZp61KhmkIBOzD1pINvAhWkBfr1UUX3WP23g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2NQakUYlhTSWNjzprWHvnWu3okJ7xHeRIyXzjq3UmcAiEA+vnv6A04W+UoUgEvz3fzCtQrLU9X9uQsWNK3bz37qhA="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.3":{"name":"post-office","version":"0.1.3","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1"},"devDependencies":{"should":"^5.0.1"},"gitHead":"b89b439c3d48a3bb586b396e19667cc1fdc721eb","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.3","_shasum":"79209074ecbd568e6fe8db3f07f503b7601f56c8","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"79209074ecbd568e6fe8db3f07f503b7601f56c8","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.3.tgz","integrity":"sha512-Fk71E4ik8PC+xymZi9gp44nf66JTyQet9FXDXCaoRGp1z/dIUttEwA6SwuqhTwaymCfllMbLGnyqnIadUht/gA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTRURnenBEsS2b08OEbwbSJVwWGFEHPxGjSOwtR+iCiQIgYLG8iaeIgIlQSKkq2UJGNPBtq3z20vrA95GNAaRkmaw="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.5":{"name":"post-office","version":"0.1.5","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"a0a468f70e3ccb082f45349722815487da950059","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.5","_shasum":"255e0e3aca820e863fe0e8b47c6911fc92fc67ca","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"255e0e3aca820e863fe0e8b47c6911fc92fc67ca","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.5.tgz","integrity":"sha512-AtiXJuRKb2kVDFsIucWJr+S1FuUgZLjf+/Z4eOVpx+BKPz6sg/XYXuTIXwEcG9MLYdsP9+2YJmeQR3v3vW65Ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3zKMKIweRcAYGEX8zKxBBua2iYION1/aqxv7aT1AhOAiEA0MNjwFdBQHGZZEN496Qa1ooOq8iYyGMq+oDFDia4f6Y="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.6":{"name":"post-office","version":"0.1.6","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"5f9fa68b8fcfbf573d1858fdeeee456750404dc4","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.6","_shasum":"e5516cb37b9a1a166f2c921f8dc545a203e41854","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"e5516cb37b9a1a166f2c921f8dc545a203e41854","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.6.tgz","integrity":"sha512-nWmmlb63AohZGRx5rv/tYe+oZb7Yy8/dY4ewxpL8xIiP8IScMYwTUSy+yPSj8rC0U2i/t3UqfdjpLA1Teiz2zA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGsxxTgKvlYAUlcPio3xkEqhXeLe+53MY8QZAlj3NvqZAiBE8w4ZMTQ5WQIY1qAxDX1puo0puGAhqToWoF/Vuzy62g=="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.7":{"name":"post-office","version":"0.1.7","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"65dece70efac16f0968a2a2d0e239a0d05101603","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.7","_shasum":"762808171b337aa8e635f53fe74fedce957fb36a","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"762808171b337aa8e635f53fe74fedce957fb36a","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.7.tgz","integrity":"sha512-Nc5omb29DX/JVmWJF6covyFWtOQ7R/R/2gTug4U9fl3YcCz+QA9JcUsEcbBDjHmRnH29m+oKYsN7XAqqA6Xp9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgKt4tD3QK0euS8II19zOT2FGvHwugG14chtU822fd4AIhAMWzdtwW+QRiSyI6H1Uk6e1zFfg+4twd4wgzpSW55RGr"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.8":{"name":"post-office","version":"0.1.8","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"7d41e7e5548bd972017e5d869ece558ab4911a29","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.8","_shasum":"da02e2d113cd51671950ffd0969233173c5919e8","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"da02e2d113cd51671950ffd0969233173c5919e8","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.8.tgz","integrity":"sha512-mbCj8PgErfnn6wvs9o7AfwpqoNTRNH6qHlu8Z7ASeR2Rs6iaW8jhgSQUQwCrNmFQ9QNFJmUgr21jZRdnCIBbDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK8qa5VAE1PVBDdtg8Oeti5W6zvoDTjKJeaznMHwzGHQIhAKA28H1Sse7tVo3I9R3goNCoxOHRxqY2M8LZZC4TGTh2"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.9":{"name":"post-office","version":"0.1.9","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"6775fd93073548869f5f694999529f9d5a09c805","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.9","_shasum":"6c8aca95bb84374bc0901cde0a027e0e867ca670","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"6c8aca95bb84374bc0901cde0a027e0e867ca670","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.9.tgz","integrity":"sha512-7XxHEbXBTVhUPLTo/qj3lQmUP0sJFOJyG8uBJSBptdBMwcmicZL1SKfr5dSU0kywt4IrywQ6YulIcrDZamEwlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDreQqmXFbeZBbRbUTNCOV51o7CSk/ygI8GmxwXHJWoPwIhAIe2zdRtIgzwF3mANJgJbqFIxRVRr96gjs0/DUWz/m8D"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.10":{"name":"post-office","version":"0.1.10","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"1d5ed1cd24a9c6bcc42153443b79f96c4c8884e9","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.10","_shasum":"10092c39acd09d9606050c100cfc6116bb706863","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"10092c39acd09d9606050c100cfc6116bb706863","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.10.tgz","integrity":"sha512-GljoTR/2u86TV57A7c+FOErgfKLnUHEjYiQQ9/xvM12MegZ8/IB6ruVwZEK2c6fyyl2dA2pWLqo3L1+y3YkHYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzGUrr3Pn+KNIxwddD9G5p+jzXs5+lORvodsraA49XywIhAMyuwsfg9e3OleNu1U9gtMCJs7ZlzPPFmE0chyzl0nUh"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.11":{"name":"post-office","version":"0.1.11","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"2a45a4a07042e23c1b32ce44bc899dcc29c67e43","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.11","_shasum":"00a28ec39bf081f48f55d62bef6e72a17b31b8cc","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"00a28ec39bf081f48f55d62bef6e72a17b31b8cc","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.11.tgz","integrity":"sha512-zR5mqbr+eYCm/ddVhq28+8LWciD/iiLUEc9xntDiz7dCzwHEP9wMn/UTyaZbRYcVFUUee/BidT3xZanM6KMiOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpNWND3yenQNxivZyyITdouQ43TiYNTA9rek5H+ZRpigIhAJ58JnU8UP1kLmq+ahOgVlGAMP/znFiz/qtgMKo0X2d8"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.12":{"name":"post-office","version":"0.1.12","description":"A express package which provides strongly typed request/response messages to internal service calls.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"c1b4de973a9b451d5b81ea37bf2f5717ba8be574","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.12","_shasum":"296ed5caec5e4f9f605a0805fda61c31c4a505fe","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"296ed5caec5e4f9f605a0805fda61c31c4a505fe","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.12.tgz","integrity":"sha512-gXHUT5n6nG29pFlPAQQdDz/scjE9jLb8AcDBAJ9OGCJCAYDOGthW/pOFxz6GtltVE+Dj8AuGtfFvkuA+oMX47g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6VY9jSz2JzmFsSkQYWCFlQ0dif6o8Fkld9tta54gCIAiAwmHjEE97zBlg6KM8dzxlHSLBSqN6NV2lUnkEAXwlNaA=="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.13":{"name":"post-office","version":"0.1.13","description":"![Post Office Logo](https://cldup.com/S1tGSQebFj.png)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"ed42c16e2351ce06e980c526b59b5768086d482f","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.13","_shasum":"75d02b530f6dc56bda172755d34b9783ecbbe8fd","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"75d02b530f6dc56bda172755d34b9783ecbbe8fd","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.13.tgz","integrity":"sha512-OsTyShORHtnmkyMNRX8XQL5vCU7CYIajddMDBX9Ht1fidi2i1ue2aeC9JPqun5pUhAlStClLSEs19WcDUmWSIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTpMuydZcoHfNfK2+gqmmI7Y0kbcNYRY5wkxPiuSAEPAIhAJEDrYo7FKoXk4VQYLdg3otJEO96r7D3JKrpJ/PclPTe"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.14":{"name":"post-office","version":"0.1.14","description":"![Post Office Logo](https://cldup.com/S1tGSQebFj.png)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"2a2f4f30589e358df8dee5a8d5575ca01adfeddd","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.14","_shasum":"2253ac6abcdebd439ea15eaa603d06bf937cb66a","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"2253ac6abcdebd439ea15eaa603d06bf937cb66a","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.14.tgz","integrity":"sha512-JXWo3yyZNtxsggkcfo4QNJvJWnePo1NIpg23wiIYagRfmsGPTbVaA/jWsfipbZg1f0V/+8JbGZAAqQRhOQJO8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCx3VT0Pe1gdi++zwRjc5mEkWdEj5vvwu3aFstcg/fxiQIgSO3CWZU4E0DdKpERl3Clp1qkpTVMYYS00oDSbaXQ/sQ="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.15":{"name":"post-office","version":"0.1.15","description":"![Post Office Logo](https://cldup.com/S1tGSQebFj.png)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"2a2f4f30589e358df8dee5a8d5575ca01adfeddd","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.15","_shasum":"18abfc491d5799e4a88763087811d8a3b6bdf152","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"18abfc491d5799e4a88763087811d8a3b6bdf152","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.15.tgz","integrity":"sha512-I/uY7MC4i7VKRj4N8xPdhKUncK1gsntUKEEM/e0Br2/7pd7oNBXvL1WA/O9TQCfArFSvAkWD/VT0WTEnQ3XcEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdefQd5HnM9m0kufwqrHUoY3Eh/EadLIGsGh+GZv8LSwIhAN72oBSXXamE885wnUa3sE0DFhfgNkGM2o5qRW56eMVO"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.1.16":{"name":"post-office","version":"0.1.16","description":"![Post Office Logo](https://cldup.com/S1tGSQebFj.png)","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"fda04d456a4f9f26a3f7331e460fbbfb71b6c6f4","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.1.16","_shasum":"f4b0e123647a035f5d28d0f242dcc85ad8613cf5","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"f4b0e123647a035f5d28d0f242dcc85ad8613cf5","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.1.16.tgz","integrity":"sha512-rxwwl9pd0VuqjwBPSJFk2YTRTcvN44bSe5NEsxJ0mauSVpjflLYPrH3/y8mHBZ0VXQ3gfMpQ1ONzBzLTYXNXoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4AQcFDhcflF3wELHS4z4RQd/8nE3vT8qJjh/H0f/HUgIhALZy6k5yplpOT+rhVlgmqp7F0gByytrtyOFGxfkePkfP"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.2.1":{"name":"post-office","version":"0.2.1","description":"![Post Office Logo](https://cldup.com/S1tGSQebFj.png)","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"d3ca7279d04f711deaa7ab0ac8463f87d6cf98a8","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.2.1","_shasum":"97a59183c8116e19c2d3e9a573d31ada1c36e4d4","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"97a59183c8116e19c2d3e9a573d31ada1c36e4d4","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.2.1.tgz","integrity":"sha512-BN0Ews7RhTbFdz7aTCr2e13l5TbcbDulGrh87uKMMeCSW6PFD6fH94Dsld1HkW1dfmCMsien0gbLQj+gE5r5mA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSlhlZNe6qlZuMzZs/2Ya05SIEJ0m60j30NJRlz3Vd7QIhAPUKiAnV/uAHgrWeCWOgvvYv/N3KY6PI9ELqgd7yUgLn"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.2.2":{"name":"post-office","version":"0.2.2","description":"![Post Office Logo](https://cldup.com/S1tGSQebFj.png)","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"ebde113c453e69436aa27304301a4d0e521b22f1","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.2.2","_shasum":"159c8329e7c29c571fd16e27592cb55d3301dd1a","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"159c8329e7c29c571fd16e27592cb55d3301dd1a","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.2.2.tgz","integrity":"sha512-MHtcW1o6ncGqQHrWwL4GbnwXx2zg+nD8CXAU4d82CLJ/uuOIg0Hm4yTRPB6mI4t33LUMTU6I4Cq002AF4ox6HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCA549caA9flcQ+Gx6hrCFryh05pdvNy1gRFyZQ8u5QPAIgbFBeLsFSGBECqE7V7+r005R+Fb8xpXtArxKZdZi+e9M="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.2.3":{"name":"post-office","version":"0.2.3","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"c6ace67e10ef28d4592dddc51fb20b619619b6b4","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.2.3","_shasum":"5be6d5f0e06f292d4ed6163dc46e66bd89be0bb7","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"5be6d5f0e06f292d4ed6163dc46e66bd89be0bb7","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.2.3.tgz","integrity":"sha512-jYMivrhrdoDDX0/ct6W5YvOEGOyvuN+3zw+XRqXDszdaBEOwaRs9cYcbPZRg5W0pw2UP+6rTy47d6GOW5dvRrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFwapfSoVJOb+RwIG4EzOHNUY+zwLuQ6bvaOFBIyXLM1AiEAtY9F6YvJtZosbdq2Khcen480vQO/9wQekUznQZ6aK+Q="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.2.4":{"name":"post-office","version":"0.2.4","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"ceff2d6ec63daba3afdaf55e197afe44914d32ad","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.2.4","_shasum":"a4bdf4a863d0542bd6b4023e1ca41a95f626089f","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"a4bdf4a863d0542bd6b4023e1ca41a95f626089f","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.2.4.tgz","integrity":"sha512-Yg6kF0NGv+fCIqcyQUEFZnH0A5jIhwKWpl83Uh290zXoSKBql4Un1kmOGDNAPqUiZdenf6mwKFZwL/sOH1C6wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpykZKdHJtFDnzeIkYx4LrOdguTnSZeZVJCah5KInp4AIhAKGUmxtMA3UfIcFUg+r8EpBw7uMDektsy2u0NN93rSS3"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.2.5":{"name":"post-office","version":"0.2.5","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"82c6245baef09bb5443a0ce2e29425d7b458a833","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.2.5","_shasum":"ce2366a67b532514c3d1e56ca8350d18f6aa87ab","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"ce2366a67b532514c3d1e56ca8350d18f6aa87ab","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.2.5.tgz","integrity":"sha512-+4f9bYkZ8Y9CevZoVV3sVXKSP6vk/pAy/o4iFMcLO34yGs2CmpIfQr7zNabChP4mCk9vBx9THSyl6R7PU709zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAd1zrLXowMxus5gSVrwaZnSq5/FG2jyZe1lyGJvY43wIhAL2h9ztQbmxAroxxL4tff7u1zxuUH46syV4qGFZJw8/b"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.2.6":{"name":"post-office","version":"0.2.6","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"b301cbb88fceacb84f29601c3ba59c79119ee212","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office","_id":"post-office@0.2.6","_shasum":"2109a7ba57748d4e991d7200c01539f2473d9af8","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"2109a7ba57748d4e991d7200c01539f2473d9af8","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.2.6.tgz","integrity":"sha512-WlOCz1i/JsNcJ/PWjBgVzHB0SZW4Z7LCbSYXKTWP4mGKD7gvHaEnWydS2CcSfX6/wBDwoE4Mu0c4gC5DucnXpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAbl7394RFGG0x30nXNhoZuqzQM0Da0EJNTizZ53dduHAiEAu0S+qgDB1RqdcYiGLPuX9w9A1Y+EO7BSegya4MkNd5Q="}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.3.0":{"name":"post-office","version":"0.3.0","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"ce8f1993ba1071ef7fc3744e33ddf001ad569e0e","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office#readme","_id":"post-office@0.3.0","_shasum":"ae818bb3e0d7ad1e7a52e4558915affd822d8736","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"dist":{"shasum":"ae818bb3e0d7ad1e7a52e4558915affd822d8736","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.3.0.tgz","integrity":"sha512-pex/vuBQTPdVYTWwAIX6Av18JHINiaVTk2DRRlhCMqKzXXMJTQL98cvx82xwdFWraVLcqX4pRh06jCtN1WXtIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZZP/fxA6FUq3nbJXwVjpt1fJ4mDJpZoegSZBD0eoqKQIhAIIF5/SY9fe2HZ9Z7LsxWdJB0ab4YhDxkqXcWMsq6Gkj"}]},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.4.0":{"name":"post-office","version":"0.4.0","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","joi":"^6.6.1","lodash":"^3.3.1","validator":"^3.33.0"},"devDependencies":{"mocha":"^2.3.3","should":"^5.0.1"},"gitHead":"f2f0a2aa17219fac9563a426e93e41d80e48180a","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office#readme","_id":"post-office@0.4.0","_shasum":"a610a62334186cd14333d79ee5bbf0e2d26d0ed6","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"dist":{"shasum":"a610a62334186cd14333d79ee5bbf0e2d26d0ed6","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.4.0.tgz","integrity":"sha512-eniK4WaBL2ZeDzaEuSpaxT4dToSk+bcTy+R0TR+HhIuaC8LOv3LUyS1YNVAMJcgKhW4rZo5vSfkV0JN93QH5cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8uFPORF1xznrBk4U3y/4Tsis9psc1/PCbqpZdtCdsqQIhAOdMkRs7zU534vwkr5ZlcGEjgPliy7U/YDp83tRK6i3P"}]},"deprecated":"post-office is no longer maintained. Use churro","directories":{}},"0.4.1":{"name":"post-office","version":"0.4.1","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","joi":"^6.6.1","lodash":"^4.17.15","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"42420bf6f85720da9e0f87321f2c93e513a34194","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office#readme","_id":"post-office@0.4.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"dist":{"integrity":"sha512-KU+aSXX3b4Vt2xeaDnkCWS7MIpianZHQBMZvX//QkZSWzdYRmagXn3UU6gqqnYxVMD01h3JOmX1qT4PaAQhocQ==","shasum":"bd31d3eb8081166855d91203106faf70e9cc7f69","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.4.1.tgz","fileCount":15,"unpackedSize":10934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexaheCRA9TVsSAnZWagAAAtoQAIn3nS0JPgZzRHHe1NLP\nNbHqPNdcZmkkPJ/fUKpAq8FShrVmYZ2fZ4ICAcZTFaGXTa9QiFItNtMryzQN\njoqXxDfbjFpXQwC0eny/M0DamkacATptu/7V0wgNx9NLcZqX6GF6Kfzzlyc8\nK55L2JtwNnVrpztbdTVPS1Yoy31QY2nTAH2rG/XPtYhJmvzo8FRZdvaUiOcM\nggcTHM+vKg7qsmpuh9n/9MwEXAOUYE92rAOd/viSJHh9KTalfY9afGJE95cF\nLcOe1DFFui9KkoM+AR1XjY8C63jCh+/VE1GviHkr3C1C7TMCvwC8e87HpgEO\nXc63JkYMIvsIMIsT1o2ifxjUcsclC3Fze/puVsshB6hlaRn3v88RD8z+8MFO\n0Xlnlj5XfRbl4XCDwPm+Ymuez1Ffnl09xLZyhaaAuYjuuXENdFOXS4fDgatr\nzPY7bi1hJkKKmvJuF7YHOjmJU+SmrOFJuemMdRnShp948usLW7y+5SnFMng5\nueBTy3gCyUkBgFL193blwKyZN+YBiHkSpwlT+EfqpZcEHj8tf6sWQjneJOR4\nQyXbjaGhJO9S6KQkDfRlhsf2qz9EFNBnfy9tFKVojVysSY8s+Nlf4ZHBqEWV\nO8mdZXo/sYOOphdcSkqRnenqv0xiMj9yJ40YLdPidacs7QNWqs+pJqJ9Pzap\nMdxb\r\n=mDjs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmBaFjJmZSj77S+WoINYEQGnsJYQHwInIpp5lCQ+EF0wIgL3Ji/XvXJUTlmlcFIaog2xVHlD4ygDCQoq/qIa33iWw="}]},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/post-office_0.4.1_1590011998301_0.1360813162109682"},"_hasShrinkwrap":false},"0.3.1":{"name":"post-office","version":"0.3.1","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^4.17.15","validator":"^3.33.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"5bacb9fa9ab54fb358309875086e3260f12265c2","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office#readme","_id":"post-office@0.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"dist":{"integrity":"sha512-iZxi7jxGD1N21q8mFFpkPksIK1/rADprLsSAijr1VubO++mlialgBDNPJ/9rTzEqjOAt9nsehr3WXMJlsbsadA==","shasum":"6ba5f55235d4cc84059e508a7c197484311f7e38","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.3.1.tgz","fileCount":25,"unpackedSize":28702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexv3cCRA9TVsSAnZWagAAfyIP/2seppkLAGI5/flZ/2vY\neN2y2uba0QZtietxUMKyCy3CHRsYOTFa6lANLrOLNQ6aM2tlk1GgbDNGCUVV\nEfh0gz176NVOGVnmbYcwaCVWvjzUW2wOxtgbn3lqVqfCNLb4sKlSXMZzadst\nkF2Ql18TwKlW46ZQe/zDqsNLdfoNLuJwJrOd8xFycsJaO+xPKxjl3i/NLovh\nHSr7RQKnu4hFDr6HTGCFIKLX0wvBZ3MfaY2PavvwEKmA3NGfvAwEuMpuTMm/\nRB8oocHbhZUFTs2l80x30LP/xq797ZDbvZZAYoncSdaoPfwgKuWRFqNfw46B\n9qv3bLZGOChVAe8SKXk7ChzGLAWRi1B2zt7SILua8N+biFhFys7IrSK9w45a\nz4czKDYQAQoSIfpFxeL7XlVkT2X5bndSiCguJfC0YZ69uAgksc3SU2ke12W0\nU9OPLmJ2jMSfur6PRJ4ScAMxXFOT/HGaSFzEavAuetbEW9alZf92c27zauUQ\ntw8ZNSUtX9VjQ0Bw5r8Lxgc2hpdLMQDXtjcRzOFaZtb/4txd11daNnazxy5j\nFiO8v/h+0gFfoeldCXFPsBf8WLuxq26LQ61k5QAOYVzweazKLUMjscgV2j6G\nZvSVamwVQONch2M+BPNAK3+yJTveym8zqCYVR2iYBNdWIXf2RDHyoRRTUWY0\nHEg5\r\n=Ucys\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDM+LrQkdXwrklUGFHnN9v0/bp/MB+bS8Nl/kwmeScmSQIgWq7ORBLusXWmUGhJwf4BiZFuXMuB29ax0/Exo4xIEJc="}]},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/post-office_0.3.1_1590099419573_0.4111452298752123"},"_hasShrinkwrap":false},"0.3.2":{"name":"post-office","version":"0.3.2","description":"A toolkit which provides a strongly-typed message mapping to internal service calls.","main":"src/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/goguardian/post-office.git"},"author":{"name":"Tyler Shaddix"},"license":"MIT","dependencies":{"bluebird":"^2.9.13","lodash":"^4.17.15","validator":"^13.7.0"},"devDependencies":{"should":"^5.0.1"},"gitHead":"5ff8dae89b9fc498020d91fd7cac60d27655303c","bugs":{"url":"https://github.com/goguardian/post-office/issues"},"homepage":"https://github.com/goguardian/post-office#readme","_id":"post-office@0.3.2","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-WLaNolCAdarPsQMxjh/DpVNFhtblOQQEyGZRauQuXnpw7xq81rpWV/6p/h6RSFQGi1K0CJMt0fmtzYGzO6G8+A==","shasum":"6e0d0de8ac9397d324a0b5426e3e90783d07ac00","tarball":"https://registry.npmjs.org/post-office/-/post-office-0.3.2.tgz","fileCount":25,"unpackedSize":28702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJqM4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqK1Q/+O373FGSvN4S10rm7G/B0R3oYGOnnbg3AZsCPWl4kXfVL8KZq\r\nGHmjUHqne6R9UUGVT3mftJjVIKQ0ojEqbyAJ0D3bvVkGqBOtnN/tO8x7Zk3c\r\nV5MlQZ9xQmts04a6ITlummF1GDFzQp9ELeLlZKPOM3n7l2EHBNaI1pogqaHP\r\n7cToFzAgoVVtju/Y2tCnvZ1tnywDfIW65ewEwIK7F0UvCafhl7AxTn+bZI1i\r\nyFRLKwkagP86pTaXOwbD5D6Jn4McH/8jGX/llE4kb0CNw4sDLTD/OdOpqrO5\r\nnMAJEGdnaBtH5KmTmdJVRVjqSY4H1IHG1eK3V5fBbYNhYWU627R47tmbi9IH\r\n1Si4R6+4ul7xSeJFNORuZiv18sF4qC3OblJsYKXErWQlFcHbA5PzkS7HhKoP\r\ndzCqLYwk+Fvlb8WbDk4JE5St5V/w4Mh+3TqvDP/55bJdOiuhOUKy7ZpPRVhh\r\npY762MqbcxOr2U/WsrA57Pg2KfT1Tg+gHH5NPqzkOOb48Rk5c1SyvQfeSUZM\r\nSixnUswKrqEOuu1Z9z/1T22AYukA3fcdkdJksfxZ0pKR4Y4fs+ChYlOaGVv4\r\nCXu2IJC8ZpLKaLyDxZeqqiu0/ZIEWZec9mr33veklyMBex5/JMbVNJBkA5YC\r\n9qjJN8UPg4lDE9ilzkO+xVgjsVinGYHi6Pw=\r\n=Bf5h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpp5fLAO964vEWv0YtZiRhPQ9cxFLgYiB3WejNpgoSvAiEA/Xx9rkk25iJFdnp8ezdVokdBYZ6yeTevfrqI0kOk2iM="}]},"_npmUser":{"name":"tshaddix","email":"tylershaddix@gmail.com"},"directories":{},"maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"},{"name":"goguardian_user","email":"di+npm@goguardian.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/post-office_0.3.2_1646699320430_0.379807763267501"},"_hasShrinkwrap":false}},"readme":"![Post Office Logo](https://cldup.com/S1tGSQebFj.png)\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n\n\nA toolkit which provides a strongly-typed message mapping to internal service calls.\n\n## What's the point?\n\nThe idea behind *post-office* is to allow application developers to work with strongly-typed messages and focus on service-level implementation code. Post Office was inspired by the idea of [Data Transfer Objects](http://martinfowler.com/eaaCatalog/dataTransferObject.html).\n\nFor example, consider a service to save a User. A current implementation with no service layer may look like this:\n\n```js\napp.post('/users', function(req, res, next) {\n\n  // validation logic...\n  // sanitization logic\n\n  // Begin \"Service-ish Code\"\n\n  User\n    .exists(req.body.email, function(err, exists) {\n      if (err) {\n        return next(err);\n      }\n\n      if (exists) {\n        return next(new Error('User exists'));\n      }\n\n      User\n        .create({\n          name: req.body.name,\n          email: req.body.email,\n          address: req.body.address\n        })\n        .save(function(err, user) {\n          if (err) {\n            return next(err);\n          }\n\n          res.status(201).json({user:user});\n        });\n    });\n});\n\n```\n\nThere are a lot of reasons why this code is less than optimal. For one, this is far from unit-testable. Another is the mixing of different logics such as parsing, validation, and sanitization. Finally, any changes to what should be returned for a user need to be reimplemented on every method that returns a user. The issues quickly become apparent as the project grows in size.\n\nIdeally, I should be able to break down my service code into a very simple collection of methods. This is where the idea of message-based design really shines. In message-based design, you write services that will accept a plain object, and will return some kind of plain object. This object will be verified to look a certain way before entering the service layer, and will be verified to look a certain way when leaving the service layer. Here is an example of the same scenario implemented by a user service with message-based design:\n\n```js\n// Example User Service\n\nexports.saveUser = function(msg) {\n  return User\n    .exists(msg.email)\n    .then(function(exists) {\n      if (exists) {\n       throw new Error('User exists');\n      }\n    })\n    .then(function() {\n      return User.create({\n        name: msg.name,\n        email: msg.email,\n        address: msg.address\n      });\n    })  \n    .then(function(user) {\n      return {user: user};\n    });\n};\n```\n\nAs you can see: no more `req`, `res`, or `next`. Testing this code is much more straight forward. Errors are simple. We just worry about the business logic, and we let *some magic* do the rest (mapping, validation, error handling, etc). **Post Office** aims to be *some magic*. It is a toolkit that allows you to build \"strongly-typed\" messages (it's javascript so \"strongly-typed\" has a somewhat different meaning here) for your services.\n\n## Quick Example\n\n```js\nvar app = require('express')();\nvar postOffice = require('post-office');\nvar PropTypes = postOffice.PropTypes;\n\n// 1. create a container\n\nvar c = postOffice.createContainer();\n\n// 2. make request envelope\n\nvar saveUserEnv = postOffice.createEnvelope({\n  name: PropTypes.string,\n  email: PropTypes.string,\n  favoriteNums: [PropTypes.int]\n});\n\n// 3. make response envelope\n\nvar saveUserResponseEnv = postOffice.createEnvelope({\n  name: PropTypes.STRING,\n  email: PropTypes.STRING,\n  favoriteNums: [PropTypes.INT],\n  updatedBy:PropTypes.INT\n});\n\n// 4. implement service code\n\nvar saveUser = function(msg) {\n  // do some magic to save user\n\n  return Promise.resolve({\n    name: msg.name,\n    email: msg.email,\n    id: 1,\n    updatedBy: 12345\n  });\n};\n\n// 5. tie it together and build expressjs handler\n\napp.post('/users', c(saveUserEnv, saveUser, saveUserResponseEnv).status(201).json());\n\n/**\n * POST /users { \"name\": \"Tyler\", \"email\": \"tyler@goguardian.com\", \"favoriteNums\": [22, \"33\"] }\n *\n * Response: { \"name\": \"Tyler\", \"id\": 1, \"email\": \"tyler@goguardian.com\", \"favoriteNums\": [22, 33], \"updatedBy\": 12345 }\n */\n\n```\n\n## Documentation\n\nLearn more on the [wiki](https://github.com/goguardian/post-office/wiki).\n\n[npm-image]: https://img.shields.io/npm/v/post-office.svg\n[npm-url]: https://npmjs.org/package/post-office\n[downloads-image]: https://img.shields.io/npm/dm/post-office.svg\n[downloads-url]: https://npmjs.org/package/post-office\n","maintainers":[{"name":"tshaddix","email":"tylershaddix@gmail.com"},{"name":"goguardian_user","email":"di+npm@goguardian.com"}],"time":{"modified":"2022-06-24T09:13:46.607Z","created":"2015-03-04T23:10:02.512Z","0.0.1":"2015-03-04T23:10:02.512Z","0.0.2":"2015-03-04T23:11:54.954Z","0.0.3":"2015-03-04T23:19:00.849Z","0.0.4":"2015-03-04T23:37:09.600Z","0.1.1":"2015-03-05T00:16:13.352Z","0.1.2":"2015-03-05T22:19:59.898Z","0.1.3":"2015-03-05T22:47:12.778Z","0.1.5":"2015-03-06T00:43:40.774Z","0.1.6":"2015-03-06T17:29:12.562Z","0.1.7":"2015-03-08T17:58:44.614Z","0.1.8":"2015-03-09T17:30:52.198Z","0.1.9":"2015-03-09T17:34:23.285Z","0.1.10":"2015-03-09T17:39:54.135Z","0.1.11":"2015-03-09T17:42:20.036Z","0.1.12":"2015-03-09T17:45:25.938Z","0.1.13":"2015-03-11T04:55:30.848Z","0.1.14":"2015-03-11T05:28:03.943Z","0.1.15":"2015-03-11T17:09:56.243Z","0.1.16":"2015-03-11T19:49:31.204Z","0.2.1":"2015-03-29T19:56:33.524Z","0.2.2":"2015-03-29T20:01:18.072Z","0.2.3":"2015-03-29T22:49:15.006Z","0.2.4":"2015-04-23T22:29:11.574Z","0.2.5":"2015-05-21T21:25:43.401Z","0.2.6":"2015-05-21T21:56:29.925Z","0.3.0":"2015-06-30T16:11:20.751Z","0.4.0":"2015-11-08T18:20:38.259Z","0.4.1":"2020-05-20T21:59:58.426Z","0.3.1":"2020-05-21T22:16:59.685Z","0.3.2":"2022-03-08T00:28:40.586Z"},"author":{"name":"Tyler Shaddix"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/goguardian/post-office#readme","repository":{"type":"git","url":"git+ssh://git@github.com/goguardian/post-office.git"},"bugs":{"url":"https://github.com/goguardian/post-office/issues"}}