{"_id":"spur-mockserver","_rev":"28-91d3e2ecf0ccfca4f0977b3f7324232b","name":"spur-mockserver","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","dist-tags":{"latest":"2.0.1","next":"1.0.0-rc.2"},"versions":{"0.0.1":{"name":"spur-mockserver","version":"0.0.1","description":"Work in progress","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"^1.9.1","spur-ioc":"^0.1.1","spur-config":"0.0.1"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"^0.1.8","spur-web":"0.0.9"},"homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.1","dist":{"shasum":"9cb60aa6afae037d8781149a8b733a4b9406e128","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.1.tgz","integrity":"sha512-h0ywZ7wjOpKshKc2yCZt6Ew9JwTuFeXt3Ct8zbVJR7NQB/waKdiHcnkKtdeMNY1115ZNlP0pvgEMJFKLxauWAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzKIhH2reBnjaxQegPyiWZtasyMccmar0w1SL4Whe/+gIgVhGH3ZxLVY5bRL1/y4k2MUXkPu0DOfCKMx/hYElAb2o="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.2":{"name":"spur-mockserver","version":"0.0.2","description":"Work in progress","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"^1.9.1","spur-ioc":"^0.1.1","spur-config":"0.0.1"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"^0.1.8","spur-web":"0.0.9"},"homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.2","dist":{"shasum":"e84cbb0541b10c4461d5f4329fcaffb814871d09","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.2.tgz","integrity":"sha512-wDM3JR7EppKNr7QzXHzzony4HZdv6w6PivL/xi3E06AtfiSpK7hXIuUArV+xqMD5L5wcWPPXP919N0Ts0Hodfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgUu+sPBsPjQzoG6bOnzhp1jy6foVof7/krBBzLvHXFgIgdax3m4E9yahrOaNd4bv4MjqtkR9M8qdIScEru2cfh9c="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"spur-mockserver","version":"0.0.3","description":"Work in progress","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"^1.9.1","spur-ioc":"^0.1.1","spur-config":"0.0.1"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"^0.1.8","spur-web":"0.0.9"},"homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.3","dist":{"shasum":"5529025c87128a6eed4db5782e5a331692e0fca6","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.3.tgz","integrity":"sha512-/X/ns8/lUvNmU819YJGC6nT7DUX8ESdAJCdGTRBRiOAi6DyA/c3o3OpiKfh0agSiYFhM9N3akt9j3Mc+3j5kmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHq9SDnks1ssP9/w0UUz8sm36nhJwiWVPCrPPO1fWHRgIgL15Mz6GCsZAany4FmBr+cHUyEe3YRchnTh+8tW4Uqw0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.4":{"name":"spur-mockserver","version":"0.0.4","description":"Work in progress","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"^1.9.1","spur-ioc":"^0.1.1","spur-config":"0.0.1"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"^0.1.8","spur-web":"0.0.9"},"homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.4","dist":{"shasum":"a18306e71fa49719d9ec22e41ab649273f1a457f","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.4.tgz","integrity":"sha512-8hwonNV/YDzTl4QeqSbWAXZoVvIFOYH9WFb54Fxwe0N7kq1gmfb0HG/CiqQC40wg9H/JnVlH/sd7f3ouVPxckQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhsfFUlo5UZtP+jBvYnmwA4IP6TvXq7AItUpAeQ8CRdAIhAKHnEeeoO42qMfMFhkdqRjGOHv14yZamiC+3tWJj8Isn"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.5":{"name":"spur-mockserver","version":"0.0.5","description":"Work in progress","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"^1.9.1","spur-ioc":"latest","spur-config":"latest"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"^0.1.8","spur-web":"0.0.9"},"homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.5","dist":{"shasum":"69f0eca0f3bedc93f42cc7fa0a2b1dfaf89bfabc","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.5.tgz","integrity":"sha512-mcKp4DBdhPwb7iq8IH3/5czaXvdL9i3eQL5Oo6ZM6FXyDzdqIzsxM0CwSRDUMpUFwaqCNAdjD/iGtHXYbjSZeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpCVw0kKikUAUfb4ygC1wQOJU0h4mmVpLrm5BVE/j+cAiBBQmfeWjfL9kzps3G7fqAOqQYNqimmi5AvYbV4WgFKQg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.6":{"name":"spur-mockserver","version":"0.0.6","description":"Work in progress","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"1.9.1","spur-ioc":"^0.1.1","spur-config":"^0.1.0"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"^0.1.15","spur-web":"^0.1.6"},"gitHead":"7cc4ea491eec2b88f1acde7f051192a702e20e71","homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.6","_shasum":"5cb5cd06f6ce44fcec3180086773ff2253389720","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"dist":{"shasum":"5cb5cd06f6ce44fcec3180086773ff2253389720","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.6.tgz","integrity":"sha512-qcYm78ipiwyenZ6BbagQKt5wKKBFDsB4/x/1+d5gimQSajKIEHX+5MOH5gTDssxnw/5TnODW/6MOYy8fw0NLhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCTHqUOqEKm7xKzoxlz00Gj6pvHm61iQ8r7b1FHvS0mwIgFhjJ60OD1XLUz+UDFpq7K6ykRRLVQPfCVK9I8eZWVgM="}]},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.7":{"name":"spur-mockserver","version":"0.0.7","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks","mock endpoints"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"1.9.1","spur-ioc":"^0.1.2","spur-config":"^0.1.0"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"latest","spur-web":"latest"},"gitHead":"a4d491af8ac3b02cb24d91e857f710d3d2b11666","homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.7","_shasum":"80d25947ee71f24c281de26dc740ebe9a64f8a3b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"dist":{"shasum":"80d25947ee71f24c281de26dc740ebe9a64f8a3b","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.7.tgz","integrity":"sha512-VA2x0B/6pJFllOa4ltFSgWowUjgPaSUIxVZ+r4jmZg2cf0jBlpzfAD5O6LNYM3RpULd+hB28KIw7+n4vbDLoGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsuLVepKD3ofzunqkKZt7B0hp6hL+xKbNeXPjjY7wiqAiEAy13AKvq9Qk5aBo0F4Ev7W0NTtvpqVymxEYYi3JYt+pI="}]},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.8":{"name":"spur-mockserver","version":"0.0.8","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"1.9.1","spur-ioc":"^0.1.2","spur-config":"^0.1.0"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"latest","spur-web":"latest"},"gitHead":"2069200ccac3482326a2b968d065d9d805d3fb5f","homepage":"https://github.com/opentable/spur-mockserver","_id":"spur-mockserver@0.0.8","_shasum":"4e9a8276bcec4539c0fcf8f517d329d7ad6db170","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"dist":{"shasum":"4e9a8276bcec4539c0fcf8f517d329d7ad6db170","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.8.tgz","integrity":"sha512-wZ9sNI3VvZli7apGSM9RBIPRRgMO4lyE8RjmhPx2lXdQyYceZbOfQj2bHMwS+TzEn7AtY/1A2zE0DufWlaka8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHvK1jofVslp8hSbrwL9hPfitWAh+zUtX5PWwwptBDecAiEAxuW5VwMMAnb14Tvcs1503UO6KbY0sVsdky9SRHB26Tc="}]},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.9":{"name":"spur-mockserver","version":"0.0.9","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"1.9.1","spur-ioc":"^0.1.2","spur-config":"^0.1.0"},"devDependencies":{"mocha":"^2.2.1","chai":"^2.2.0","matchdep":"^0.3.0","grunt":"^0.4.5","sinon":"^1.14.1","grunt-contrib-copy":"^0.8.0","grunt-contrib-clean":"^0.6.0","spur-common":"latest","spur-web":"latest"},"gitHead":"af9d0090757c6ed0884fd34969b9ba5246743392","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@0.0.9","_shasum":"01618bfee2406ba03910db4cc3ccf41c000f27ea","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.45","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"dist":{"shasum":"01618bfee2406ba03910db4cc3ccf41c000f27ea","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.9.tgz","integrity":"sha512-PHNB9g0jrb5fNhE++5nUNbipzEZqlAIl95H+qpWjvuLGyO5kLPYlUF/UtNDPD8hKtN59MPpdL7obwObuv4ZOIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBpbjCNwU4hQv+6BPGEr6Ic1d1SKrnz3Vvh1GIG85cNeAiAGwcp1uQV/Mrju5KsLbbAkb3ta0WV1zZzwQ56QcajWZg=="}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/spur-mockserver-0.0.9.tgz_1465583692177_0.34940967080183327"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.10":{"name":"spur-mockserver","version":"0.0.10","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"^1.11.1","spur-config":"^1.0.2","spur-ioc":"^0.2.4"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","sinon":"^1.17.6","spur-common":"^0.3.1","spur-web":"^0.4.1"},"gitHead":"d655f40f8f4902bbd08fc6e1c79911b43de88972","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@0.0.10","_shasum":"0a8f306ee1a2e7a22de7f52b0d263ade03c9be97","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"dist":{"shasum":"0a8f306ee1a2e7a22de7f52b0d263ade03c9be97","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.10.tgz","integrity":"sha512-amFpfM0dALpzZNZ1eBwgyVhMp37VVDxz9gy45d+u71Hu/zsl7gIg5jz7XAps6D3DC1YiNvb0xdnq30ZpaPWL/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyJ0Z1MUd5TBrxDUWNdMmf95KM4r9Zv+xjiPc42klvVQIhAJuxFj4bS94+/qoOgYuzH1Rr+tTRNr6n7C33hxUxo9j/"}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"dgdblank","email":"dgdblank@gmail.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/spur-mockserver-0.0.10.tgz_1480819316872_0.2570805128198117"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.11":{"name":"spur-mockserver","version":"0.0.11","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"index.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"coffee-script":"^1.11.1","spur-config":"^1.0.2","spur-ioc":"^0.2.4"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","sinon":"^1.17.6","spur-common":"^0.3.1","spur-web":"^0.4.1"},"gitHead":"083b1c76b821f24ad7442c8109e34d009d7097b3","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@0.0.11","_shasum":"535b76199e9409b5a32633d96250e7e187c25562","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"dist":{"shasum":"535b76199e9409b5a32633d96250e7e187c25562","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.11.tgz","integrity":"sha512-CN1Hut1kAIrUIi/0rw59le6S/TO4ENF3h4ndBkjL0hOPZLgkP8A2btMD3vXu7R0u53HxMDftijB9x8pHCKUAtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQdfNeALc0Br5uKkwQRX0x3HkyzeT5N47xjIQxBcpjXwIgXN4cABKKRj6QnbKu1efFh9eBdwOePQdM8d1TFLjqyOo="}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"dgdblank","email":"dgdblank@gmail.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/spur-mockserver-0.0.11.tgz_1481831656146_0.3425131603144109"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.12":{"name":"spur-mockserver","version":"0.0.12","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"lib/injector","jsnext:main":"./src/injector","scripts":{"build":"babel src -d lib --source-maps","dev":"babel --watch src -d lib","lint":"eslint .","pretest":"npm run lint","test-unit":"babel-node --debug node_modules/mocha/bin/_mocha ./test/unit/","test-integration":"babel-node --debug node_modules/mocha/bin/_mocha ./test/integration/","test":"npm run test-unit","start":"babel-node start-with-fixtures.js","build-and-test":"npm run build && npm test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"spur-config":"^1.0.2","spur-ioc":"^0.2.4"},"devDependencies":{"babel-cli":"^6.5.1","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.5.0","babel-preset-es2015-loose":"^7.0.0","chai":"^3.5.0","eslint":"^2.4.0","eslint-config-opentable":"^4.0.0","eslint-plugin-import":"^1.8.1","mocha":"^2.4.5","nock":"^9.0.2","sinon":"^1.17.6","spur-common":"^0.3.1","spur-web":"^0.4.1"},"gitHead":"a30a143fa003bcd42d496366d51d774454e68520","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@0.0.12","_shasum":"435ac845bbe8705cd1214d2c9aa3a48c75d741a6","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"dist":{"shasum":"435ac845bbe8705cd1214d2c9aa3a48c75d741a6","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-0.0.12.tgz","integrity":"sha512-tBog85i7686De1s1l9Uehb+Xj6v/+rfKYUWB7uEM69kuRpKjwK/ouxed74+L8x617jKhmI8plBJMrYPRQoFXPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICNzXkhlCOimr8Mi22m3fXvz/lNor3Tt70T8e2MpU+FJAiAYd6273GsHTQU6x4frSFtVOK9Y+c452EsvAGIQdyh6qA=="}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"dgdblank","email":"dgdblank@gmail.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/spur-mockserver-0.0.12.tgz_1482390268802_0.23685943707823753"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0-rc.1":{"name":"spur-mockserver","version":"1.0.0-rc.1","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"lib/injector","jsnext:main":"./src/injector","scripts":{"build":"babel src -d lib --source-maps","dev":"babel --watch src -d lib","lint":"eslint .","pretest":"npm run lint","test-unit":"babel-node --debug node_modules/mocha/bin/_mocha ./test/unit/","test-integration":"babel-node --debug node_modules/mocha/bin/_mocha ./test/integration/","test":"npm run test-unit","start":"babel-node start-with-fixtures.js","build-and-test":"npm run build && npm test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org","tag":"next"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"spur-config":"^1.0.2","spur-ioc":"^0.2.4"},"devDependencies":{"babel-cli":"^6.5.1","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.5.0","babel-preset-es2015-loose":"^7.0.0","chai":"^3.5.0","eslint":"^2.4.0","eslint-config-opentable":"^4.0.0","eslint-plugin-import":"^1.8.1","mocha":"^2.4.5","nock":"^9.0.2","sinon":"^1.17.6","spur-common":">1.0.0-rc","spur-web":">1.0.0-rc"},"gitHead":"f938f21aa986c320c3b3aaf087181fa63a531d5b","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@1.0.0-rc.1","_shasum":"3ad6304519631460831a75b11411e0380b690e95","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.2","_npmUser":{"name":"dgdblank","email":"dgdblank@gmail.com"},"dist":{"shasum":"3ad6304519631460831a75b11411e0380b690e95","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-1.0.0-rc.1.tgz","integrity":"sha512-C6yxmnzDiKpfjupc+5dvDwI5ltDs8qOstZIHpSu664umNYqc/kv9hx8i8jMWh/M5GFS/RqlHHVJfawpJHMdqQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG6qawjbV8B70e5znYYJV0YLNNpLTzB47RINOloKUQiHAiAj+wtn5YQuAYCyNQSp22HXgdo6Yjy6qoIciAL6NNkX4g=="}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"dgdblank","email":"dgdblank@gmail.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/spur-mockserver-1.0.0-rc.1.tgz_1484172032848_0.7884023319929838"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0-rc.2":{"name":"spur-mockserver","version":"1.0.0-rc.2","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"lib/injector","jsnext:main":"./src/injector","scripts":{"build":"babel src -d lib --source-maps","dev":"babel --watch src -d lib","lint":"eslint .","pretest":"npm run lint","test-unit":"babel-node --debug node_modules/mocha/bin/_mocha ./test/unit/","test-integration":"babel-node --debug node_modules/mocha/bin/_mocha ./test/integration/","test":"npm run test-unit","start":"babel-node start-with-fixtures.js","build-and-test":"npm run build && npm test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org","tag":"next"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"spur-config":"^1.0.2","spur-ioc":"^0.2.4"},"devDependencies":{"babel-cli":"^6.5.1","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.5.0","babel-preset-es2015-loose":"^7.0.0","chai":"^3.5.0","eslint":"^2.4.0","eslint-config-opentable":"^4.0.0","eslint-plugin-import":"^1.8.1","mocha":"^2.4.5","nock":"^9.0.2","sinon":"^1.17.6","spur-common":">1.0.0-rc","spur-web":">1.0.0-rc"},"gitHead":"0e0bfe99de1d4e48e38b2cee7f17fc9253bb5fc8","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@1.0.0-rc.2","_shasum":"e55d0028a6a67d5230a4d888082bc589c000c3f3","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"dgdblank","email":"dgdblank@gmail.com"},"dist":{"shasum":"e55d0028a6a67d5230a4d888082bc589c000c3f3","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-1.0.0-rc.2.tgz","integrity":"sha512-0nGSfjDoNlfmlS7N3Ld2yYo7vFcKG0EUPBFz0nOtM2mL1Vb/i22tPVm9Y/aKPuPVnE0vX70CaicCIZr1MH2B/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8UKJ2dfeTU9nY+cuMiqMsDvdkoa3KSpOEwxzjANJkRAIgbekeQDYA/iGFK9Sp2aeX2Cu3bAI6CGF+wbYl+FBv1do="}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"dgdblank","email":"dgdblank@gmail.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/spur-mockserver-1.0.0-rc.2.tgz_1484173312023_0.21644781972281635"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"spur-mockserver","version":"1.0.0","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"lib/injector","jsnext:main":"./src/injector","scripts":{"build":"babel src -d lib --source-maps","dev":"babel --watch src -d lib","lint":"eslint .","pretest":"npm run lint","test-unit":"babel-node --debug node_modules/mocha/bin/_mocha ./test/unit/","test-integration":"babel-node --debug node_modules/mocha/bin/_mocha ./test/integration/","test":"npm run test-unit","start":"babel-node start-with-fixtures.js","build-and-test":"npm run build && npm test"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"contributors":[{"name":"Danielle Blank","email":"dgdblank@gmail.com"}],"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"engines":{"node":">=4.0.0"},"dependencies":{"spur-config":"^1.0.2","spur-ioc":"^0.2.4"},"devDependencies":{"babel-cli":"^6.5.1","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.5.0","babel-preset-es2015-loose":"^7.0.0","chai":"^3.5.0","eslint":"^2.4.0","eslint-config-opentable":"^4.0.0","eslint-plugin-import":"^1.8.1","mocha":"^2.4.5","nock":"^9.0.2","sinon":"^1.17.6","spur-common":"^1.0.0","spur-web":"^1.0.0"},"gitHead":"7da4ab6636b828a89dcdb0c597b92a38ef09030b","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@1.0.0","_shasum":"b65c81245a490c4ab1be9d9359221bc9b9b28889","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.2","_npmUser":{"name":"dgdblank","email":"dgdblank@gmail.com"},"dist":{"shasum":"b65c81245a490c4ab1be9d9359221bc9b9b28889","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-1.0.0.tgz","integrity":"sha512-Pfu/rUKI61BMemvQP4r+PchQos8YtCHydunYKc5Awe/wP+FpRYiNDsiWed5gFhQXQTJf7OBm5qoP8ADhwSMSbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYpjLepi1fdEHjJycY81lkeENOjDJoSMyGTZVsN9TPDAiEA2wK32jh+MkRw/8dPz63uN+rhCxU670Oo4t/FOXNeJag="}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"dgdblank","email":"dgdblank@gmail.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/spur-mockserver-1.0.0.tgz_1484349085286_0.3459136327728629"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.0-rc.1":{"name":"spur-mockserver","version":"2.0.0-rc.1","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"./src/injector","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"mocha ./test/unit/","start":"node start-with-fixtures.js"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"contributors":[{"name":"Danielle Blank","email":"dgdblank@gmail.com"}],"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"engines":{"node":">=6.0.0"},"dependencies":{"lodash.filter":"4.6.0","lodash.invokemap":"4.6.0","lodash.map":"4.6.0","lodash.values":"4.3.0","spur-config":">=2.0.0-rc.1","spur-ioc":">=1.0.0-rc.1"},"devDependencies":{"chai":"^4.1.1","eslint":"^4.5.0","eslint-plugin-node":"^5.1.1","mocha":"^3.5.0","nock":"^9.0.2","sinon":"^3.2.1","spur-common":">=2.0.0-rc.1","spur-web":">=2.0.0-rc.1"},"gitHead":"b0147c88d3fc0142e14bb9c1ec58d59ccc9e9ce8","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@2.0.0-rc.1","_shasum":"9573c81ca9a3c804102bde583aad1dd1e7cd9cbd","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"dist":{"shasum":"9573c81ca9a3c804102bde583aad1dd1e7cd9cbd","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-2.0.0-rc.1.tgz","integrity":"sha512-ToWJU1R4XUtoaDm6TOmXl1UBThfea+hZqVXp3JbxNQw055j9DF6X/zCGwvJbvH1c3BxScPSavlP+Js0GW16sew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl8VTls8YchZkqRtxurQvbkl9/ryV46z1g4gZeD+XwOAIhAK1lWCenmaCG7t16quM7d7l5Plxj1XKE/VofCnPcVnvZ"}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spur-mockserver-2.0.0-rc.1.tgz_1503768863211_0.4060877284500748"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.0":{"name":"spur-mockserver","version":"2.0.0","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"./src/injector","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"mocha ./test/unit/","start":"node start-with-fixtures.js"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"contributors":[{"name":"Danielle Blank","email":"dgdblank@gmail.com"}],"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"engines":{"node":">=6.0.0"},"dependencies":{"lodash.filter":"4.6.0","lodash.invokemap":"4.6.0","lodash.map":"4.6.0","lodash.values":"4.3.0","spur-config":"^2.0.0","spur-ioc":"^1.0.0"},"devDependencies":{"chai":"^4.1.1","eslint":"^4.5.0","eslint-plugin-node":"^5.1.1","mocha":"^3.5.0","nock":"^9.0.2","sinon":"^3.2.1","spur-common":"^2.0.0","spur-web":"^2.0.0"},"gitHead":"36e0f5b392c2c1cdac3d8e7143101f30d95cb36e","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@2.0.0","_shasum":"92d1a6c81ab6594b4cd6bac9b1ac3e89e602f12d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"dist":{"shasum":"92d1a6c81ab6594b4cd6bac9b1ac3e89e602f12d","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-2.0.0.tgz","integrity":"sha512-8LdIDcIE48qjqf7h2VvQYH24qzXk6Vgk4JZgT5UN0KTKhTZVW0vB0KHfBajFqh/kZDuAFmL5SsneWHWhrjZJQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASOHi7cNvOxIys+ZoUfSqF4LKl/mTZVKUJj8fxi1fepAiEA4xWAtR4UYqDNKHMWQ4mm6jPou4DpHNDfptZg07+bX/8="}]},"maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"opentable","email":"npm-publish@opentable.onmicrosoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spur-mockserver-2.0.0.tgz_1508985655175_0.504009873373434"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.1":{"name":"spur-mockserver","version":"2.0.1","description":"A Node.js library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.","main":"./src/injector","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"mocha ./test/unit/","start":"node start-with-fixtures.js"},"repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"contributors":[{"name":"Danielle Blank","email":"dgdblank@gmail.com"}],"keywords":["spur","spur-framework","express","mocks"],"license":"MIT","bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"dependencies":{"lodash.filter":"4.6.0","lodash.invokemap":"4.6.0","lodash.map":"4.6.0","lodash.values":"4.3.0","spur-config":"^2.0.0","spur-ioc":"^1.1.1"},"devDependencies":{"chai":"^4.3.6","eslint":"^8.15.0","eslint-plugin-node":"^11.1.0","mocha":"^10.0.0","nock":"^10.0.6","sinon":"^14.0.0","spur-common":"^2.1.0","spur-web":"^2.0.0"},"gitHead":"e5d4b8dd4b744dc1923df83c7f45c09d282c74bc","homepage":"https://github.com/opentable/spur-mockserver#readme","_id":"spur-mockserver@2.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Z7v1QbCGyK9teiXshuZMcgeWBpmPHs1iGRzQG6HW5pOGbVm5zrW+OIhxth7N41y9/vCJOixgxyDqHovmU4AL+w==","shasum":"0092bb0196fa49e6c56d77000ad76b3f5103555a","tarball":"https://registry.npmjs.org/spur-mockserver/-/spur-mockserver-2.0.1.tgz","fileCount":23,"unpackedSize":24445,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqMT3R/dItx2OkJm+OumDIr1NB1pk4bKmkLKehHWslJAiBdxLMSoDCHCCHzfmkA/QYqMt3PUZYTSwF3psiaNVr/nQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiimRjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqwtg/7BRUDYUIHqEgsKzu02LMdXAGiMSlBdiH6Qgc+ly5fkMBH2ZA+\r\nxp338gMV9O9px7y4mLD/zLVc8ldNZ0K2TVcVC5FDINMKkU/N/04AmHb4Apqg\r\nbLWMsV6Rxn1zMXGgh3Xa0QcJNIbFGRYjlsYEBcimDLy/2sf9ul38WztvyKUR\r\n4EVZmNSWZ34tdKZE4pOZ6Iey8zcP6w5BrzqVGVgiBSBqYKlgallnpgWXv3MA\r\ncuG3R52cXG5AWoXQjjaKX3dLChS1oZMkhlzS5jDcX4CZqyCf2euJV1GPY2tR\r\no7nCUNSsMju/31iICv06hpayUrsFRCrF0vWMzi7cE2QjexCVz8M0TeyAskh6\r\nammM7/eEnj/O7RpQcHHRYsmmKfGB+mz7D+B/JFqeB2O5uBf0edZODpP2ftMh\r\nfuPCMW4x7BezNao3apZr3iKwNTY460xc1AehWkkYgFUqTGcGzKjX/NTQTts4\r\nolBG5yb/Ey5j6Z8++II8PcX/qO+AacKMgu8bN77BNjQBYEAEeGVI64wzpaab\r\nLVUPluE5gTB+9sc9NttlllwwSszH9MNO8DaVgfik0fiizHNNfetLhSzuEAck\r\nzKGFoi3GfwtSEd89lBo34I0Y8UpMeyGQK1tTXIicPPvljSfGt4IpjRwh5Duh\r\nO+605XgxODrMpGy9v47mch7bLQd9VhIlnw0=\r\n=c1+G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acolchado","email":"agustin@colchado.com"},"directories":{},"maintainers":[{"name":"arnoldzokas","email":"arnold.zokas@coderoom.net"},{"name":"acolchado","email":"agustin@colchado.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spur-mockserver_2.0.1_1653236834877_0.7891923951856374"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"<img src=\"https://opentable.github.io/spur/logos/Spur-MockServer.png?rand=1\" width=\"100%\" alt=\"Spur: Mock Server\" />\n\nA [Node.js](http://nodejs.org/) library with tools to allow for the creation of mock web servers for testing with mocks and real web servers.\n\n  [![NPM Version][npm-version-image]][npm-url]\n  [![NPM Install Size][npm-install-size-image]][npm-install-size-url]\n  [![NPM Downloads][npm-downloads-image]][npm-downloads-url]\n\n# About the Spur Framework\n\nThe Spur Framework is a collection of commonly used Node.JS libraries used to create common application types with shared libraries.\n\n[Visit NPMJS.org for a full list of Spur Framework libraries](https://www.npmjs.com/browse/keyword/spur-framework) >>\n\n# Topics\n\n- [Quick start](#quick-start)\n    - [Usage](#usage)\n      - [Standalone usage example](#standalone-usage-example)\n      - [Mixed web app usage example](#mixed-web-app-usage-example)\n      - [Controlling fixtures from a browser client](#controlling-fixtures-from-a-browser-client)\n- [Contributing](#contributing)\n- [License](#license)\n\n\n# Quick start\n\n## Installing\n\n**`Dependencies:`**\n\n```shell\n$ npm install --save spur-ioc spur-config spur-common spur-web\n```\n\n**`Module:`**\n\n```bash\n$ npm install spur-mockserver --save\n```\n\n## Usage\n\n### Standalone usage example\n\nThis example will only show the files that show unique configurations to a mock server. For a fully detailed example, [please view the example here](https://github.com/opentable/spur-examples/tree/master/spur-mockserver).\n\n#### `src/injector.js`\n\n```javascript\nconst path = require('path');\nconst spur = require('spur-ioc');\nconst spurCommon = require('spur-common');\nconst spurWeb = require('spur-web');\nconst spurMockserver = require('spur-mockserver');\nconst spurConfig = require('spur-config');\nconst registerConfig = require('spur-common/registerConfig');\n\nmodule.exports = function () {\n\n  const ioc = spur.create('spur-mockserver-example');\n\n  registerConfig(ioc, path.join(__dirname, './config'));\n\n  ioc.merge(spurCommon());\n  ioc.merge(spurWeb());\n  ioc.merge(spurMockserver());\n\n  ioc.registerFolders(__dirname, [\n    'mocks/'\n    'runtime/'\n  ]);\n\n  return ioc;\n};\n```\n\n#### `src/runtime/WebServer.js`\n\n```javascript\nmodule.exports = function (MockWebServer) {\n  class WebServer extends MockWebServer {\n  }\n\n  return new WebServer();\n}\n```\n\n#### `src/mocks/UserMockEndpoint.js`\n\nBy creating files with the ending name of `*MockEndPoint.js`, it will self register as a mock controller. You can have multiple MockEndpoint files, as long as they don't share the same endpoint urls.\n\nYou can also have multiple request handlers in the same MockEndpoint and change which loads dynamically.\n\n```javascript\nmodule.exports = function (MockEndpoint) {\n\n  class UserMockEndpoint extends MockEndpoint {\n    method() {\n      return MockEndpoint.METHODS.GET;\n    }\n\n    url() {\n      return '/user/:id';\n    }\n\n    default(req, res, next) {\n      const userId = parseInt(req.params.id);\n      const user = {\n        id: userId,\n        name: \"User Name\",\n        statusCode: 200\n      };\n\n      res.status(user.statusCode).json(user);\n    }\n  }\n\n  return new UserMockEndpoint();\n};\n```\n\n#### `start.js`\n\n```javascript\nconst injector = require('./src/injector');\n\ninjector().inject(function (WebServer) {\n  // Starts the web server by loading all the default methods in the MockEndPoints\n  WebServer.startWithDefaults();\n});\n```\n\n### Mixed web app usage example\n\nWhile you can have a standalone mock server, sometimes it's needed to use mock endpoints in an actual application. This scenario could be due to the need to be able to work on parts of the REST API that are defined and mock out parts that are not completely defined.\n\nThe following examples show how you mix them by adding a few calls to your web server app based on [BaseWebServer](https://github.com/opentable/spur-web/blob/master/src/webserver/BaseWebServer.js) defined in [Spur-Web](https://www.npmjs.com/package/spur-web). For it's full configuration, take a look at the documentation in Spur-Web, but the following are a highlight of the dependency configuration needed to make it work.\n\n#### `src/injector.js`\n\n```javascript\nconst path = require('path');\nconst spur = require('spur-ioc');\nconst spurCommon = require('spur-common');\nconst spurWeb = require('spur-web');\nconst spurMockserver = require('spur-mockserver');\nconst spurConfig = require('spur-config');\nconst registerConfig = require('spur-common/registerConfig');\n\nmodule.exports = function () {\n  const ioc = spur.create('spur-mockserver-example');\n\n  // ... other dependencies\n\n  ioc.merge(spurMockserver());\n\n  ioc.registerFolders(__dirname, [\n    'mocks'\n    'runtime'\n  ]);\n\n  return ioc;\n};\n```\n\n#### `src/runtime/WebServer.js`\n\n```javascript\nmodule.exports = function (BaseWebServer, config) {\n\n  class MockWebServer extends BaseWebServer {\n    constructor() {\n      super();\n      this.useDefaults = config.useMockDefaults;\n    }\n\n    registerMiddleware() {\n      super.registerMiddleware();\n      this.registerMockEndpoints();\n    }\n\n    registerMockEndpoints() {\n      Logger.log(`Attempting to register mock-endpoints - Use Defaults (${this.useDefaults})`);\n      MockEndpointRegistration.register(this.app, this, this.useDefaults);\n    }\n\n    setUseDefaults(useDefaults = false) {\n      this.useDefaults = useDefaults;\n    }\n\n    startWithDefaults() {\n      this.setUseDefaults(true)\n      return this.start();\n    }\n  }\n\n  return new MockWebServer();\n};\n```\n\n### Controlling fixtures from a browser client\n\nThe `/v3/fixtures` middleware handler enables the customization of fixtures returned by mock endpoints from web browser clients, e.g. with `XMLHttpRequest` or `fetch`, addressing use cases of web UI developers and manual QA.\n\n#### Method\n\n```javascript\nconst xhr = new XMLHttpRequest();\nxhr.open('POST', 'http://localhost/v3/fixtures');\nxhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');\nxhr.send(JSON.stringify({\n  fixtures: [{\n    endpoint: 'MyMockEndpoint',\n    method: 'myMethod'\n  }]\n}));\n```\n\nIf the mock server is running on `localhost` and the mock endpoint `MyMockEndpoint` is registered and has a method `myMethod`, the `POST` request succeeds and successive requests that are handled by `MyMockEndpoint` will run `myMethod` to generate its response.\n\n#### JSON\n\n```javascript\nconst xhr = new XMLHttpRequest();\nxhr.open('POST', 'http://localhost/v3/fixtures');\nxhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');\nxhr.send(JSON.stringify({\n  fixtures: [{\n    endpoint: 'MyMockEndpoint',\n    json: { 'example':[1, 2, 3] }\n  }]\n}));\n```\n\nIf the mock server is running on `localhost` and the mock endpoint `MyMockEndpoint` is registered, the `POST` request succeeds and successive requests that are handled by `MyMockEndpoint` will respond with an HTTP status of `200` and the JSON  `{\"example\":[1, 2, 3]}`.\n\n# Contributing\n\n## We accept pull requests\n\nPlease send in pull requests and they will be reviewed in a timely manner. Please review this [generic guide to submitting a good pull requests](https://github.com/blog/1943-how-to-write-the-perfect-pull-request). The only things we ask in addition are the following:\n\n * Please submit small pull requests\n * Provide a good description of the changes\n * Code changes must include tests\n * Be nice to each other in comments. :innocent:\n\n## Style guide\n\nThe majority of the settings are controlled using an [EditorConfig](.editorconfig) configuration file. To use it [please download a plugin](http://editorconfig.org/#download) for your editor of choice.\n\n## All tests should pass\n\nTo run the test suite, first install the dependancies, then run `npm test`\n\n```bash\n$ npm install\n$ npm test\n```\n\n# License\n\n[MIT](LICENSE)\n\n[npm-downloads-image]: https://badgen.net/npm/dm/spur-mockserver\n[npm-downloads-url]: https://npmcharts.com/compare/spur-mockserver?minimal=true\n[npm-install-size-image]: https://badgen.net/packagephobia/install/spur-mockserver\n[npm-install-size-url]: https://packagephobia.com/result?p=spur-mockserver\n[npm-url]: https://npmjs.org/package/spur-mockserver\n[npm-version-image]: https://badgen.net/npm/v/spur-mockserver","maintainers":[{"name":"acolchado","email":"agustin@colchado.com"},{"name":"arnoldzokas","email":"arnold.zokas@coderoom.net"}],"time":{"modified":"2022-06-26T23:11:48.883Z","created":"2015-04-07T18:22:16.435Z","0.0.1":"2015-04-07T18:22:16.435Z","0.0.2":"2015-04-17T21:23:36.517Z","0.0.3":"2015-04-17T22:58:17.482Z","0.0.4":"2015-04-25T23:48:41.128Z","0.0.5":"2015-05-17T06:29:32.267Z","0.0.6":"2015-10-28T05:54:06.933Z","0.0.7":"2015-10-29T03:45:23.535Z","0.0.8":"2015-10-29T03:54:13.223Z","0.0.9":"2016-06-10T18:34:56.207Z","0.0.10":"2016-12-04T02:41:58.716Z","0.0.11":"2016-12-15T19:54:16.370Z","0.0.12":"2016-12-22T07:04:30.805Z","1.0.0-rc.1":"2017-01-11T22:00:34.923Z","1.0.0-rc.2":"2017-01-11T22:21:53.928Z","1.0.0":"2017-01-13T23:11:25.507Z","2.0.0-rc.1":"2017-08-26T17:34:23.342Z","2.0.0":"2017-10-26T02:40:55.307Z","2.0.1":"2022-05-22T16:27:15.045Z"},"homepage":"https://github.com/opentable/spur-mockserver#readme","repository":{"type":"git","url":"git://github.com/opentable/spur-mockserver.git"},"author":{"name":"Agustin Colchado","email":"agustin@colchado.com"},"bugs":{"url":"https://github.com/opentable/spur-mockserver/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["spur","spur-framework","express","mocks"],"users":{"acolchado":true},"contributors":[{"name":"Danielle Blank","email":"dgdblank@gmail.com"}]}