{"_id":"http-test-servers","_rev":"26-9f8318dffabddc9a3ac79f9186c840ab","name":"http-test-servers","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"http-test-servers","version":"0.0.1","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{},"devDependencies":{"should":"","mocha":"","express":""},"scripts":{"test":"mocha"},"_id":"http-test-servers@0.0.1","dist":{"shasum":"d3845bc0adc521e061a8728626a73c3ada809ec9","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.1.tgz","integrity":"sha512-7MbbTA+plTCPj7mgNejhzbpvDnvODVNJyqCMD0O2g91PjgF9tZQZC1ozJVNtfD5L5hraSbqJVMnbJNQFeCSP5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGa658JNW3alkPoUYtj3gk1qaQ65DKNpYyAk8J4lVFAyAiEAkQUlBIsI1LPNnrJQLPWG3I+/zhHsaPjBeHnDCJhAuPw="}]},"_from":"http-test-servers/","_npmVersion":"1.2.32","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.2":{"name":"http-test-servers","version":"0.0.2","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"","express":"","underscore":""},"devDependencies":{"should":"","mocha":"","superagent":""},"scripts":{"test":"mocha"},"_id":"http-test-servers@0.0.2","dist":{"shasum":"de761a93bdcbf2bd56ffe57796c5cb3b692ff982","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.2.tgz","integrity":"sha512-2Z6fYuEkV6IBSUxUyQ7Ijnl5FFmVf9ge2zfPZ+q3s+oXX70uhqR3YwN6ni62lKs5rUB9vnlykEfHO0PgOChv+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjn/XL8K1LpK/feWdUdVO3JqwBCSPhGDSz6OZSzYNLawIgCg5soYO+NIJGjUaV3y2J9MYzXWXqjExc0Aj78JA0pQ4="}]},"_from":"http-test-servers/","_npmVersion":"1.2.25","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.3":{"name":"http-test-servers","version":"0.0.3","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"","express":"","underscore":""},"devDependencies":{"should":"","mocha":"","superagent":""},"scripts":{"test":"mocha"},"_id":"http-test-servers@0.0.3","dist":{"shasum":"0ec18ca7d65b09a447d681f98ed99469dd0161aa","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.3.tgz","integrity":"sha512-RHEVR2xJx3DJaCL/EZZb2IyeyO6gUBLUAzvzaUO7BfaKdvyIHTfHifcMMu0q0HqCf3McFxa7nksAj07yCqfj6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKTt2kaj2yDUrMocdYAo38xjW0UG9DnrjbjnM5x/tB+AiEAxzFFy2zZ6TKGDpPfY7O4pj0QxSK1oQZZjkj9WkqsWGA="}]},"_from":"http-test-servers/","_npmVersion":"1.2.32","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.4":{"name":"http-test-servers","version":"0.0.4","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"","express":"","underscore":""},"devDependencies":{"should":"","mocha":"","superagent":""},"scripts":{"test":"mocha"},"_id":"http-test-servers@0.0.4","dist":{"shasum":"4838ca8d07f8dd678efacb96acc10d71bc346e7d","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.4.tgz","integrity":"sha512-q+tYl7+jTh+JJ5O6MvpGi0bRAxGBc5u0BSph8RB5xGqSuL/+46V6OUWmvgQ4zhm/GQ4PLYYRJjrlRRpbMdXEdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICm1Xz+/CfYfcD0hpjosOncaL6i5pImH0GFs14ojXKzsAiEAiH6l5WOAyGREIq/YmOdW8uBOfDUwUe++QFhosKRhAdU="}]},"_from":"http-test-servers/","_npmVersion":"1.2.32","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.5":{"name":"http-test-servers","version":"0.0.5","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"","express":"","underscore":""},"devDependencies":{"should":"","mocha":"","superagent":""},"scripts":{"test":"mocha"},"_id":"http-test-servers@0.0.5","dist":{"shasum":"0a684b6648d25e71a3a1a85a7f5957767596bfb1","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.5.tgz","integrity":"sha512-edry9sbNwSjDD3nVJXn6ENPBnGn0wQw5sXh5XaJs5Shb0V1fI6c1/d7jsgDFq9fFSL2ub4LM/sRX4/u99tjvYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3CQ3sQyOCSoZdA+Z2hOynxOrrIJKo+SxNCEZN6nd7NgIhAIAk/LODliThIcIOkyiv9c204Q+lVHn6SRQaqU79M/In"}]},"_from":"http-test-servers/","_npmVersion":"1.2.32","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.6":{"name":"http-test-servers","version":"0.0.6","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"","express":"","underscore":""},"devDependencies":{"should":"","mocha":"","superagent":""},"scripts":{"test":"mocha"},"homepage":"https://github.com/matteofigus/http-test-servers","_id":"http-test-servers@0.0.6","dist":{"shasum":"261852d4badd788debc90d878a5c8c95cd710ae6","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.6.tgz","integrity":"sha512-Mu0Jljg1I7mmOPipQ55p/efuFbd6bTVuIAeLrTjljxWNXTyk1cZzFozQAVpQ6udZaGeU/7bGAucekblDn2NMfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFejIJqX0TVAfo04Fp72qa5jcDLdYV/uTKryWWYlcf3FAiEAoOHhQDxpt6/OD9zhw6O+3ZPc5eudn6jGXLtRgiCbSpI="}]},"_from":"http-test-servers/","_npmVersion":"1.3.13","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.7":{"name":"http-test-servers","version":"0.0.7","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"","express":"","underscore":""},"devDependencies":{"should":"","mocha":"","superagent":""},"scripts":{"test":"mocha"},"_id":"http-test-servers@0.0.7","dist":{"shasum":"3c0e243f2d504c9f5a03e96d0293527877fdffc2","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.7.tgz","integrity":"sha512-zWyEnGpY5e8umf0f9G5BiN7HigxXU5bGc50wKBBoqsJorIvGUEryfztu4JYMmXg52FO+4nPyXrQhgOFQNQUdtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDg3Cwzp6rO5XdjbxY8JSCayRAFED7ctk3kwWjjkpS3FQIgJ+z87Hpa2S7WugnBLj7OMzPtkUeuvcodEfDNaKTHAO0="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.9":{"name":"http-test-servers","version":"0.0.9","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"","express":"","underscore":""},"devDependencies":{"should":"","mocha":"","superagent":""},"scripts":{"test":"mocha"},"homepage":"https://github.com/matteofigus/http-test-servers","_id":"http-test-servers@0.0.9","dist":{"shasum":"6375ce2348c4e5f8b2251eb4e859a2c2b7461a6e","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.9.tgz","integrity":"sha512-S7gquWaA2NcZIuJaO/V5n4sMv14wreN56TWNDtdnoVQ92uzG6sObEMqGf7dY6DnBuzq/iWDbGo9QtQJwwnTRJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh1MtwS8yy9jEsqbO58Rk9e7E16uxX68c6hgCciCVdxAIhAOXADJSkWR18NnR5ZRy0Bxr+Xn0a9PeV9hAXSxl+SkA1"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"directories":{}},"0.0.11":{"name":"http-test-servers","version":"0.0.11","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"0.0.15","express":"3.4.7","underscore":"1.6.0"},"devDependencies":{"should":"4.0.4","mocha":"1.20.1","superagent":"0.18.2"},"scripts":{"test":"mocha"},"homepage":"https://github.com/matteofigus/http-test-servers","_id":"http-test-servers@0.0.11","_shasum":"0046097e66523c9f112a4a6de679084266ac20ff","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"dist":{"shasum":"0046097e66523c9f112a4a6de679084266ac20ff","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.11.tgz","integrity":"sha512-u9ZqT76jr2GTi0C6A0HuxjqsJz0hSjM9erBhIsyiz1b5iQk4J9b5JICNi9ogQGiKbJlkgQ+5yLpScjIYA6On7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaTQGF0CkAvAPItNfA7odv2Zx2T0m7nyyEQyHVnBmqJwIgRn91JEO1QuUTa63t+YwCQgjs9uWFJse8Za0cxlDw08M="}]},"directories":{}},"0.0.12":{"name":"http-test-servers","version":"0.0.12","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.6.x","npm":">=1.1.x"},"dependencies":{"give-me":"0.0.15","express":"3.4.7","underscore":"1.6.0"},"devDependencies":{"should":"4.0.4","mocha":"1.20.1","superagent":"0.18.2"},"scripts":{"test":"mocha"},"gitHead":"6595a6cc229e095d1b188d9675231adc45510bca","homepage":"https://github.com/matteofigus/http-test-servers","_id":"http-test-servers@0.0.12","_shasum":"e78cfd35356313e65602a9f7507739b568bfd1f3","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"dist":{"shasum":"e78cfd35356313e65602a9f7507739b568bfd1f3","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-0.0.12.tgz","integrity":"sha512-/xSYWFIbCrawPDXisze/S4pIBGbPhLt9/Qoe+TKAxrcKUWMOtWrYO1wAM84guTk5sW/AGsuxFwa/kNErCTQ8vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXDyR4v0ovkcYWiA8KjAnyjfe1K82vmqUr2nZdvnR9bAiEA1OH9+H+qmhkqYB60YyMaFK4p5qCGvw1dcroYh4K3V8g="}]},"directories":{}},"1.0.0":{"name":"http-test-servers","version":"1.0.0","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.10.x","npm":">=1.1.x"},"dependencies":{"express":"3.21.2","give-me":"0.1.0","underscore":"1.6.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.2.2","superagent":"^1.7.2"},"scripts":{"test":"node ./node_modules/.bin/mocha test --timeout 400 --reporter spec"},"gitHead":"7e76d04186734dcb03a8a320fa0f1e65bd0394c8","homepage":"https://github.com/matteofigus/http-test-servers","_id":"http-test-servers@1.0.0","_shasum":"279c682c79e2d13f37fccb8a78503652e129b394","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"dist":{"shasum":"279c682c79e2d13f37fccb8a78503652e129b394","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-1.0.0.tgz","integrity":"sha512-gNs+HZs2VABcoreM1MKTReWFQ4r1jToXZJG9qLFhsPIiIemF3acBHpAmvRrAYu3qak/2A6E5zHqM5D7a/UdVaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUnEgVmZ2mBQJnZS+BHCCpXMVMyjCc8SY6ZBdYSHiTAwIgeidfsgmwitGm66p1l3Ocq7vE/JqhUYUP+dJGfMFGQnc="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/http-test-servers-1.0.0.tgz_1455369222241_0.5554274199530482"},"directories":{}},"2.0.0":{"name":"http-test-servers","version":"2.0.0","description":"Speeds up some http servers on localhost to facilitate acceptance tests of applications that require api interactions","author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/matteofigus/http-test-servers.git"},"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"keywords":["test","http","http server","mock"],"main":"index","engines":{"node":">=0.10.x","npm":">=1.1.x"},"dependencies":{"body-parser":"^1.19.0","cookie-parser":"^1.4.5","express":"^4.17.1","give-me":"^0.1.0","morgan":"^1.10.0","underscore":"^1.6.0"},"devDependencies":{"mocha":"^8.2.0","should":"^8.2.2","superagent":"^6.1.0"},"scripts":{"test":"node ./node_modules/.bin/mocha test --timeout 400 --reporter spec"},"gitHead":"c06a0d4c4a5671cca75c6b85737985798f85aa8c","homepage":"https://github.com/matteofigus/http-test-servers#readme","_id":"http-test-servers@2.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-eYic2f8fFUF6biPrcciDPqfCrtp45Ao/WNImt9Zw7+gkH+IOhpyic/sI140m7zXhaVickrRe5pA/wGd/Eu6UzA==","shasum":"7df0b65b06c2735df2c266993665c7a3f95ae14c","tarball":"https://registry.npmjs.org/http-test-servers/-/http-test-servers-2.0.0.tgz","fileCount":5,"unpackedSize":6693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfk3F3CRA9TVsSAnZWagAARP8QAJfSn6jjiCfJ6F1sqZCB\nuvC/iLShMik51OpwS5kU40WOU/wh3834BdGzz1IeDeTgZ0wB7ToFJ6Qvtefx\nrhswxTSlsyR6y9wTyXT/bVXgoJ0uN5Y0XLwQQm6MKKX1yhDDgUNHmeHZ5v8B\nVtwrbTYxEu7xROB7PMNgCDxy4DkO7uKEIHjn9oM5PyuBR6NEB47n4DH0ORv9\nvISYk4tQYiI0/P5FJaq/OXGAC/7GCNTMuPVDoXx0OGL+HcRooxFHzFFhLa5V\naCi2RyYY7JgR6pAFh+OTn4nImGIDCXLa0SJTi6DTpAfXZ45I8ffk5RmRuKov\nJPAPkvbCHU5rFOd5cSyBIVM4eIARCvSS5YOt2JTWZ/vpathIa3CtDS2REQk+\njAVxdzMziuH4sfh5wl6agSPmGJmrOO8ckahfa/IXupJzTlvMot/2dUD4BPY/\n6DYoOXbWaEiAYHdA5VtZugJL9cErz7EIJpRGzMY7d2+fgnzIufbD1rI1ENPr\nBqFyzkCksqJwploYg+gdtctGTWCiNU0WXPxfKw9JkUkRESDSndQb8FJ7HSEa\n3Lkr1075xgb3xLgQp5J0pbaZB1cVX1/CAfN5N3dUZQYiqB5nzUwUGLoe2Tun\nH8FP5gD9cIWnDxDNzmZ9NzYsJtlvqv1QaVRMUn98s+hFZaKW1JcsBMaOBnll\nJ+Gs\r\n=9QLm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUeVv/Wnybl+Dy1WEBPNF7iRYpxgGQHnYUh/eYrvnBRwIhAKPYzY9TJ3cKhh8Blf0NJDNbsuk051QeDEI9JCWsoXu6"}]},"maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"_npmUser":{"name":"matteofigus","email":"matteofigus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-test-servers_2.0.0_1603498358838_0.46556928443645096"},"_hasShrinkwrap":false}},"readme":"http-test-servers [![Build Status](https://secure.travis-ci.org/matteofigus/http-test-servers.png?branch=master)](http://travis-ci.org/matteofigus/http-test-servers)\n=============\n\n[![NPM](https://nodei.co/npm/http-test-servers.png?downloads=true)](https://npmjs.org/package/http-test-servers)\n\nSpeeds up some http servers for testing pourposes.\n\n## Installation\n\n```shell\n  npm http-test-servers\n```\n\n### Sample usage (init, start, kill)\n\n```js\n  // Routes first. They can be a simple string (will be a get route), or objects as follows\n\n  var routes = {\n    route1: '/getData',\n    route2: {\n      route: '/postData2',\n      method: 'post',\n      statusCode: 302,\n      response: { 'hello': 'world' }\n    }\n  };\n\n  // Next the servers. The optional delay is to simulate a delay on the response. For each one the same routes will be created\n\n  var servers = {\n    server1: {\n      port: 3006\n    },\n    server2: {\n      port: 3007,\n      delay: 2000\n    }\n  };\n\n  // Optional: the options. \n\n  var options = { logger: true };\n\n  // init\n  var testServers = new TestServers(routes, servers, options);\n\n  // start them\n  testServers.start(function(testServers){\n\n    // if you want, take a look at this\n    console.log(testServers)\n\n    // don't forget to kill them\n    testServers.kill(function(){\n      \n      console.log('killed everything');\n    });\n  });\n```\n\n### Options\n\n#### logger\n  (Boolean): Displays some info on the console every time a request is made\n\n# Tests\n\n```shell\n  npm test\n```\n\n# License\n\nMIT\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/matteofigus/http-test-servers/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")","maintainers":[{"name":"matteofigus","email":"matteofigus@gmail.com"}],"time":{"modified":"2022-06-18T22:17:41.206Z","created":"2013-10-28T21:14:31.498Z","0.0.1":"2013-10-28T21:14:34.461Z","0.0.2":"2013-10-29T16:20:42.107Z","0.0.3":"2013-10-29T19:05:26.870Z","0.0.4":"2013-10-29T20:24:58.350Z","0.0.5":"2013-10-29T21:58:05.089Z","0.0.6":"2013-11-22T18:19:14.530Z","0.0.7":"2013-12-23T10:56:22.959Z","0.0.9":"2014-01-02T00:22:13.497Z","0.0.11":"2014-07-19T12:11:35.416Z","0.0.12":"2014-09-14T14:19:37.740Z","1.0.0":"2016-02-13T13:13:45.977Z","2.0.0":"2020-10-24T00:12:38.987Z"},"author":{"name":"Matteo Figus","email":"matteofigus@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/matteofigus/http-test-servers.git"},"homepage":"https://github.com/matteofigus/http-test-servers#readme","keywords":["test","http","http server","mock"],"bugs":{"url":"https://github.com/matteofigus/http-test-servers/issues"},"license":"MIT","readmeFilename":"Readme.md"}