{"_id":"rest-api-mock","_rev":"39-74fc79d595816ac2800dd8c8495127bd","name":"rest-api-mock","time":{"modified":"2022-06-26T12:01:35.755Z","created":"2014-07-18T04:02:31.851Z","0.0.1":"2014-07-18T04:02:32.964Z","0.0.2":"2014-07-18T04:03:41.303Z","0.0.3":"2014-07-18T04:13:43.753Z","0.0.4":"2014-07-18T04:16:39.774Z","1.0.0":"2016-05-06T16:31:25.414Z","1.0.1":"2016-05-08T21:31:10.333Z","1.0.2":"2016-05-08T21:42:58.204Z","1.0.3":"2016-05-08T21:59:38.087Z","1.0.4":"2016-05-09T15:05:05.637Z","1.0.5":"2016-05-09T15:17:41.709Z","1.0.6":"2016-05-09T15:53:00.433Z","1.0.7":"2016-05-23T21:29:35.219Z","1.0.8":"2016-05-24T17:10:06.142Z","1.0.9":"2016-05-24T17:25:54.826Z","1.0.10":"2016-05-24T19:42:09.124Z","1.0.11":"2016-05-25T15:00:57.227Z","1.0.12":"2016-05-25T19:17:02.215Z"},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"dist-tags":{"latest":"1.0.12"},"description":"framework to build a restful api mock.","readme":"# Moki - easy way to mock a rest-api\n\n**before v1.0.11** *this application was published as npm module called 'rest-api-mock'.*\n\nOld project \"rest-api-mock\" is deprecated. i will leave it on npm.\nPlease use moki as new module name.\n\n\nThis CLI-application is a simple way to create mocks in nodejs.\n\n######Important: (currently)\n1. Experimental\n2. Not tested\n3. dev in progress (api is changing)\n\n## Goals\n\n* Simple way to setup a mocked rest-api.\n* Usefull for Web- & Mobile-developers to build rest-based clients without running a real server.\n\n\n## Getting started\n\n### Installation\n\nTo install moki global accessible you can use this cli command:\n\n   > npm install -g moki\n\n   **Important**: nodejs from V.6 doesn't support EventEmitter. So you will get a warning in console.\n\n   Change to (project-) directory where you want to manage your rest-api mocks.\n\n\n### Configure mocks\n\nTo create a mock for a specified rest-request you can use a json-based dsl.\nThis json file with some mock-declarations inside we will call 'usecase'.\n\n**Example:**\n````json\n{\n  \"mocks\" : [{\n\n    \"on\" : {\n      \"endpoint\": {\n        \"method\": \"get\",\n        \"pattern\": \"/items\",\n\n        \"path\": \"/items\"\n      }\n\n    },\n\n    \"action\" : { \"items\" : [\"Apple\", \"Pineapple\"] }\n  }]\n}\n````\n\nSave this content in a text file './usecases/usecase-1.json'.\n\n\n### Run\n\nTo run moki with above described usecase open command line and enter:\n\n   >moki run usecase-1\n\nMoki will resolve the name of usecase to a file, load the mock-declarations and start the server at\nhttp://localhost:8383/.\n\nTo test the endpoint open in the browser this url:\n   http://localhost:8181/items\n\n\n## More explanations\n\n### Command-line usage\n\n**Example:**\n     > moki -c ./configs/simple.moki.json run usecase-2\n\nIn this example moki runs a usecase called \"usecase-2\". Moki resolves this name to path ./usecases/usecase-2.json.\nThere you can find the config for usecase/story. (TODO: need to clarify usecase vs story)\n\n**Options:**\n\n- c : path, relative to current directory. this path shows at moki.json main config file for the server.\n\n**Command:**\nAt this moment only one command 'run' is supported.\nWith 'run' command you can run a server with usecase-configs.\n\n**Example: (usecase.json):**\nMoki understands json, so you can declare your usecases. every usecase is a moki of a rest-api-endpoint call.\n\n````json\n{\n  \"actions\" : \"../actions/*.js\",\n\n  \"mocks\" : [{\n    \"name\": \"endpoint-1\",\n    \"description\": \"simple get example to create an get-endpoint\",\n\n    \"on\" : {\n      \"endpoint\": {\n        \"method\": \"get\",\n        \"pattern\": \"/item/:id\",\n        \"path\": \"/item/5\"\n      },\n\n      \"log\": true\n    },\n\n    \"action\" : \"simple-success-action\"\n  },\n\n  {\n      \"on\" : {\n        \"endpoint\": {\n          \"method\": \"get\",\n          \"pattern\": \"/fwd/:id\",\n          \"path\": \"/fwd/1\"\n        },\n\n        \"log\": true\n      },\n\n      \"action\" : \"http://localhost:8181/item/5\"\n  }]\n}\n````\n\n\n# Use programmatically\n\n## Initialize server\n````JavaScript\n    var Mock = require( \"rest-api-mock\" );\n\n    var mock = new Mock({\n        name: \"Example\"\n    });\n````\n\n## Mock\n\n### Simple GET response\n\n... returns an json-object in http-response.\n\n````JavaScript\nmock.on({\n    name: \"usecase-get-item-1\",\n\n    endpoint : {\n        method: \"get\",\n        pattern: \"/item/:id\",\n        path: \"/item/5\"\n    }\n}).response([\n        \"body:///json/path\",\n        \"query://param1\",\n        \"path://name1\"\n    ],\n\n    function ( p1, p2, p3 ) {\n        return { \n           success: true,\n           p1 : p1,\n           p2 : p2,\n           p3 : p3\n        };\n    });\n    \n````\n\n### Simple POST response\n...\n\n### Forward\nListen on path /fwd/1 (for pattern /fwd/:id) and forward request to passed url. In this example\nit will forward to \"http://localhost:8383/item/5\".\n\n````JavaScript\nmock.on({\n    name: \"usecase-forward\",\n\n    endpoint : {\n        method: \"get\",\n        pattern: \"/fwd/:id\",\n        path: \"/fwd/1\"\n    },\n}).forward( \"http://localhost:8383/item/5\" );\n\n````\n\n\n### Bad request\n\n````java\n\nserver.on({\n    name: \"err-example-2\",\n    description: \"error with message\",\n\n    endpoint : {\n        method: \"get\",\n        pattern: \"/err/:id\",\n        path: \"/err/2\"\n    },\n\n    log: true\n}).error( 404, \"This request is broken\" );\n\n\n````\nSecond parameter is the error-message abd is optional.\n\n\n## Start mock\nAll endpoints and attached usecases will be registred and the mock-server will be started.\n\n````java\nmock.start();\n````\n\n## Stop mock\n````java\nmock.stop();\n````\n# Another Mock-Servers\n\n* https://www.npmjs.com/package/mock-restful\n* https://www.npmjs.com/package/api-mock\n* https://www.npmjs.com/package/mock-rest-request\n* https://github.com/typicode/json-server\n* http://www.mock-json-api.com/\n* http://www.mock-server.com/where/npm.html\n\n\n## for swagger\n* https://www.npmjs.com/package/swagger-mock\n* https://github.com/dzdrazil/swagger-mock-api\n* https://www.npmjs.com/package/swagger-server\n\n\n# The MIT License (MIT)\n\nCopyright (c) 2016 Andreas Siebert\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","versions":{"1.0.0":{"name":"rest-api-mock","version":"1.0.0","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"restify":"~4.0.4","bunyan":"~1.5.1"},"gitHead":"b317f02155034a71bd27a4c525129cc408a1fb70","_id":"rest-api-mock@1.0.0","_shasum":"b199c7484ecd3910805e2fe92dc68ecafc94d048","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"b199c7484ecd3910805e2fe92dc68ecafc94d048","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.0.tgz","integrity":"sha512-xbdb/APYQPntXwhklGjXKKBW3B4TLUNOiD2rLhZqhEdoFiC2Nj+0iIdcztQxDj8hDbvNe5Y1iRHHmEVQJMJm8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkMxvJPIbFSRHeKXqOLK56fK/CYcjjxIHjdFPoHGQhyAIhANN2QfUT+RDXfVY0tR6hy/K4eFDN4jxTjCJtUHPn3im+"}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.0.tgz_1462552282989_0.24453930044546723"}},"1.0.1":{"name":"rest-api-mock","version":"1.0.1","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","jsonpointer.js":"^0.4.0","restify":"~4.0.4"},"gitHead":"973f919f794e4f8702348cc85a743b61b1c7ba79","_id":"rest-api-mock@1.0.1","_shasum":"6388d9e72334966c2822346e65a1021c50badfe1","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"6388d9e72334966c2822346e65a1021c50badfe1","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.1.tgz","integrity":"sha512-6BpenZgjfdj+WNJqeLuBDi/QZZnncwEAxSzRwJW81gWpb/gxLfsDt2njjCQ3+hn+3uSKSI1KkOC8va4Jtrbxng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFxtE4Jnu9MBnvZWvByZ26JoounBYD7LW+rte3kcxarrAiBQA57gKVfvnRV9JMjhL4KA3XR+qMKV+SndxPaZkqhn3Q=="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.1.tgz_1462743069272_0.674492854392156"}},"1.0.2":{"name":"rest-api-mock","version":"1.0.2","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","jsonpointer.js":"^0.4.0","restify":"~4.0.4"},"gitHead":"f2ee39501d54d62ae3232ccdb939b258a5fa88d1","_id":"rest-api-mock@1.0.2","_shasum":"78c651fd261bd899e6ca45a970c9dd073c7c8cd4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"78c651fd261bd899e6ca45a970c9dd073c7c8cd4","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.2.tgz","integrity":"sha512-US3vIZywPDCcBW26VNrADigvOFORDsPUwAWOUt21HZBj9ztiTSaqOZci9yXN3+QBUy5Q9UVGieXm5AtsYAQWjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxklbIF5ndqwWWxKYEFTzt3ay8/GUs8MTaK19xlMKLtQIgcl+7ZiPKb0cFmLkyeIminDOGrN2iQVpgGGxm3tg11vo="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.2.tgz_1462743777056_0.21229096176102757"}},"1.0.3":{"name":"rest-api-mock","version":"1.0.3","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","jsonpointer.js":"^0.4.0","restify":"~4.0.4"},"gitHead":"1e3e1f2ad0ce54eda98b96efc3fab04437aac9eb","_id":"rest-api-mock@1.0.3","_shasum":"8215f4010cc3dbbd554d2f2ea0c174eaaf2bd322","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"8215f4010cc3dbbd554d2f2ea0c174eaaf2bd322","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.3.tgz","integrity":"sha512-vEnykhUOGxKWaQPz/uoHzZ2VApJGdXkVXFxOMWWZiVvL4jd8L/k4/2XAV3XZ78BNRnuULUJZsVtlavhocCCIvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTEsy0eMTh/+aMQW1DQgaow8wXwz5g8+oy4kRXYYjqfAiEAhHKT7Xk1Tk3zdayShi3VPeRZepOhbRCM1FOmuoQNZds="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.3.tgz_1462744776982_0.8757828734815121"}},"1.0.4":{"name":"rest-api-mock","version":"1.0.4","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","jsonpointer.js":"^0.4.0","restify":"~4.0.4","unirest":"^0.4.2"},"gitHead":"abc6a036afa06490386a29a9f817fe3c0b642b53","_id":"rest-api-mock@1.0.4","_shasum":"4ce572b8428989daa872f948ede0faf37377c596","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"4ce572b8428989daa872f948ede0faf37377c596","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.4.tgz","integrity":"sha512-j0NBT/fkqMcBRVSIQaBlpc+VvPLPIMsMp4hfWcbPEAbkxdgYMZiMMUOsP93RMMZvFNPH/DOtlPf+MHdmUuA1tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkYCIhR/uraUIAsJPNWhm8gafu2as647PgmMe9yw2XmAiEA9LbpAcyNhwrR4ThoBONYPXF+sZss9U2zEuDaPkYyJRY="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.4.tgz_1462806302955_0.35672807041555643"}},"1.0.5":{"name":"rest-api-mock","version":"1.0.5","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","jsonpointer.js":"^0.4.0","restify":"~4.0.4","unirest":"^0.4.2"},"gitHead":"5de28e7f51d2939155242445c72e2ddf3e1a1d52","_id":"rest-api-mock@1.0.5","_shasum":"9685ecfda156e5ca3185669b50b10bce9db50274","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"9685ecfda156e5ca3185669b50b10bce9db50274","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.5.tgz","integrity":"sha512-uYUXNX4S2sInJ5SNORjRFEiyHlfbka/xi2ALGkueb8Re7vSPQa/Nw5fiWNjJ/JjUQ66hEw0rKwEZLgczqg1nCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/VN7PTAk3C9Axq39PPCAs0ryPdzPGgB+0HpcqglYUWAIgTv57PaFMY8lthirI2P4dd0OgGZAfz0YqtJl1lfwvck0="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.5.tgz_1462807060491_0.7814953972119838"}},"1.0.6":{"name":"rest-api-mock","version":"1.0.6","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","jsonpointer.js":"^0.4.0","restify":"~4.0.4","unirest":"^0.4.2"},"gitHead":"caab16dcdbbaf9d6bd45861e70d9aa8e3edfa5d1","_id":"rest-api-mock@1.0.6","_shasum":"b02ee7fafcdc13d15917d29edbee733976041aa3","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"b02ee7fafcdc13d15917d29edbee733976041aa3","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.6.tgz","integrity":"sha512-VjSVKqVlVrtKhwgLcTpRZjZJU8AMa2Ai6OPvAGfh+LEV06AavK8XJGgcWAuYFj7IxrUWByxFXnlp1IwTC/Ye+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtHvS9MvjJj1Cl1NHiL5WrrnHm4qcjPZfXMgz9skC9fAiEAk2SUKef5fETWsSYvaLWPoF0idDf9qV+NIUbxOjtjzfI="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.6.tgz_1462809177909_0.5944853047840297"}},"1.0.7":{"name":"rest-api-mock","version":"1.0.7","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","chai":"^3.5.0","jsonpointer.js":"^0.4.0","mocha":"^2.4.5","restify":"~4.0.4","string":"^3.3.1","underscore":"^1.8.3","unirest":"^0.4.2"},"gitHead":"4f56f20889f0ea9dfd3bae7f94b258a47f4e8195","_id":"rest-api-mock@1.0.7","_shasum":"60c76b596297e0e63f622ace00c527f87ff443cd","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"60c76b596297e0e63f622ace00c527f87ff443cd","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.7.tgz","integrity":"sha512-r2Z6MqkwuptaSxq+CC4YJTNgLcafIOk+45FcrhuTjnNWmK88947VuSJCnjWcflibRaGroS1vf9P9wUpmPPrL6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy03SQmFeGOHjlIXZf/uf2esBZ6bKVQpQ6RgslaoRYJgIhAIa2I7s/zKPSj1/d5mpMvy1IjQ6oCIaVI7RCg5PyfFHq"}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.7.tgz_1464038974158_0.8257112342398614"}},"1.0.8":{"name":"rest-api-mock","version":"1.0.8","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","chai":"^3.5.0","commander":"^2.9.0","jsonpointer.js":"^0.4.0","mocha":"^2.4.5","restify":"~4.0.4","string":"^3.3.1","underscore":"^1.8.3","unirest":"^0.4.2"},"gitHead":"6815de8e566d137950338c30416ee568a3acafd1","_id":"rest-api-mock@1.0.8","_shasum":"02de86e958157b2c3057ad233fc9d5b8152dfd3c","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"02de86e958157b2c3057ad233fc9d5b8152dfd3c","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.8.tgz","integrity":"sha512-u1u/1PQiZqudcB+KsCR7WMgLXKfNp0jyEJY2Nug6FW1jyRwlFZUYd7fqnABkR8+mp2tnie7ziju6IBGAyrEnkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCe8nQiE+1tOUOWed6002iju2Ar4BysctboKUqAcCwegQIhAOMGvVV5oEh6OgwB/F/Ae8LJ8PbNMfBPjIzYi00k1QEl"}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.8.tgz_1464109803740_0.9011817718856037"}},"1.0.9":{"name":"rest-api-mock","version":"1.0.9","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","chai":"^3.5.0","commander":"^2.9.0","jsonpointer.js":"^0.4.0","mocha":"^2.4.5","restify":"~4.0.4","string":"^3.3.1","underscore":"^1.8.3","unirest":"^0.4.2"},"gitHead":"1168bd9b19306ff2c9fd6c925bde0b0a3bf2d1ac","_id":"rest-api-mock@1.0.9","_shasum":"ab8f60d5e37da88f717f6ae84ca4f4ea6689d458","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"ab8f60d5e37da88f717f6ae84ca4f4ea6689d458","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.9.tgz","integrity":"sha512-jQIqfXb4Zn7qE9uJVU1eDXZa6nZ1oitt5hJhvi/6Eh8VW6axrkdwL+8dCHs2d+Ldf6D5WHMQ2/Li1PKusd8+LQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdlqLA0XHpZHwMM8fi214PXhq8p7M9tv8xoAS4NfWs4AiEAzBE845OAN/64tc/8zLvNJZIDo9nqVXiNtrtnVSD4a/Y="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.9.tgz_1464110752250_0.23682529921643436"}},"1.0.10":{"name":"rest-api-mock","version":"1.0.10","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","chai":"^3.5.0","commander":"^2.9.0","jsonfile":"^2.3.1","jsonpointer.js":"^0.4.0","mocha":"^2.4.5","restify":"~4.0.4","string":"^3.3.1","underscore":"^1.8.3","unirest":"^0.4.2"},"gitHead":"63a5b77af7256b7b4fec0a56b6bd6b848128e3d9","_id":"rest-api-mock@1.0.10","_shasum":"dfa61d6e327227e7875e357536d24a634e235353","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"dfa61d6e327227e7875e357536d24a634e235353","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.10.tgz","integrity":"sha512-yxdzlrch25lHCSxGQtoq5Do3hPCbuWtIXM66rnwab5mvKvSFtWRf6+d6xHqEHN9BrIiNv5LCHIHNj4PZjxIrkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKxRmGbxCLC3MnXzVPSmWnGr154yLB4SwxjOmmLNTy9gIhAJP+ZjhYNNiiwq5rd4yT0tZwEFX2wjxUSX1fExtFba1e"}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.10.tgz_1464118926518_0.7818062359001487"}},"1.0.11":{"name":"rest-api-mock","version":"1.0.11","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"bunyan":"~1.5.1","chai":"^3.5.0","commander":"^2.9.0","jsonfile":"^2.3.1","jsonpointer.js":"^0.4.0","mocha":"^2.4.5","restify":"~4.0.4","string":"^3.3.1","underscore":"^1.8.3","unirest":"^0.4.2"},"gitHead":"f7ce73ffb01eca853b8a4e69cc6e9db62ff0f57e","_id":"rest-api-mock@1.0.11","_shasum":"534c393acc16b7518b2daa840d10de767ac06111","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"534c393acc16b7518b2daa840d10de767ac06111","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.11.tgz","integrity":"sha512-4Z2gSb5D65EU4c9gSAQMGFqsEEow3WpKOdiGhqsJsOc/xK240SfWHjyPEM17fQDZPiNS2E3FC8PLw9pw9bM6JA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcgszLxZjv/bqBOhZ2Ium/xtb1NyRVYRJiysg3yDa81AiBbtBueSudAG295opXmNK4+pMpTTMD4hhUouTVj1EkJ8Q=="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.11.tgz_1464188455836_0.40064276847988367"},"deprecated":"WARNING: This project has been renamed to moki. Please reinstall with new name."},"1.0.12":{"name":"rest-api-mock","version":"1.0.12","description":"framework to build a restful api mock.","main":"server.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node server.js"},"repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"license":"MIT","bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"homepage":"https://github.com/drdrej/rest-api-mock#readme","dependencies":{"ascii-art":"0.0.2-alpha","bunyan":"~1.5.1","chai":"^3.5.0","commander":"^2.9.0","jsonfile":"^2.3.1","jsonpointer.js":"^0.4.0","mocha":"^2.4.5","restify":"~4.0.4","string":"^3.3.1","underscore":"^1.8.3","unirest":"^0.4.2"},"gitHead":"e87dd45da95445d12aed00c1227f188927f43117","_id":"rest-api-mock@1.0.12","_shasum":"60680533dd21964f2ebc418127d04f9dd0a1c1f8","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"drdrej","email":"andrej.siebert@googlemail.com"},"dist":{"shasum":"60680533dd21964f2ebc418127d04f9dd0a1c1f8","tarball":"https://registry.npmjs.org/rest-api-mock/-/rest-api-mock-1.0.12.tgz","integrity":"sha512-xQU/SwB/TPOoGuNIxFZ/oH2LmNGP1RyE/7oVyZpSOUrnZqnPjnWaB+zv9rd2At1Axd63x8HmTMpUsmtVyeyxtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdLboUaHx2ZUKTRBTZ5fsp0gPPsWkdd3gPt90XkRVK+gIgDL5AeBK65u1mc6InbjD2pBzT9psuZb1lGZS2PqTA1Pw="}]},"maintainers":[{"name":"drdrej","email":"andrej.siebert@googlemail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rest-api-mock-1.0.12.tgz_1464203820573_0.9203702812083066"},"deprecated":"WARNING: This project has been renamed to moki. Please reinstall with new name."}},"homepage":"https://github.com/drdrej/rest-api-mock#readme","repository":{"type":"git","url":"git+https://github.com/drdrej/rest-api-mock.git"},"author":{"name":"drdrej"},"bugs":{"url":"https://github.com/drdrej/rest-api-mock/issues"},"license":"MIT","readmeFilename":"README.md"}