{"_id":"run-browser","_rev":"25-253ec8a9c8ba5499eb557ee45188f916","name":"run-browser","description":"The simplest way to run testling type tests in the browser","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"run-browser","version":"1.0.0","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"~3.18.0"},"devDependencies":{"linify":"*"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@1.0.0","dist":{"shasum":"85f630700c6c369f90baeb42c41d308a4cf8cc55","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-1.0.0.tgz","integrity":"sha512-6Pu51YIMkNK4YLw+stU4TiRYif4cOUX9wY+oP/brKvc51X6GvRhkBxYQqadOvUeMhHgxLGRDFCTbxqwjKUVDSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGwGeb77S+AbwYGkiB9moe44u51Tqq4v+ymSK/O/SzOAiBftEHJl4UQWx8Yl1RRq+90G7rP/hsaYiouv9818M+80Q=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.1.0":{"name":"run-browser","version":"1.1.0","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"~3.18.0","glob":"~3.2.7"},"devDependencies":{"linify":"*"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@1.1.0","dist":{"shasum":"2efe7a713c2192ecec8c1c7eb1e6fa6ac5a4e658","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-1.1.0.tgz","integrity":"sha512-WSCo9sy7K54LLJuxW4EioJIvZjXTQZvgJefEAp7RptkE9S0tmwoPXrOC60r+/ctZF6V7OFYJLfgVUf5ATik7KA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZXd+fWMusVk3nbVoaiA92iizwiGRyoJGi51uw7jt7NAIgJ4y/7b/kmqr0oDcf2gGUIcF9uSdbgowW9tX052vshE8="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.2.0":{"name":"run-browser","version":"1.2.0","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"~3.28.0","glob":"~3.2.7"},"devDependencies":{"linify":"*"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@1.2.0","dist":{"shasum":"b1115d773366282d3ac44d660df0a85500853ce1","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-1.2.0.tgz","integrity":"sha512-mFwOScj3BlJiBNgGwNR5VTkNYcka4G6VgcSippQsLA5oJxSzdHaKVpD2p18dxppOLiDIBgY7Xg707EPeKYY77A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKU2ptcO9jk78OJ5NoZLUEKVcsKznLrjtWUuoCtH80sAiEAghHpCj7sBt3GdjMW/U+Jq7/SEQK00IzmeBrn+usJrbE="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.3.0":{"name":"run-browser","version":"1.3.0","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"^3.28.0","glob":"~3.2.7","minimist":"0.0.8","phantomjs":"~1.9.7-1","tap-finished":"0.0.1"},"devDependencies":{"linify":"^1.0.1"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@1.3.0","dist":{"shasum":"cee59d9b244f8f47e4b4433ac67bff24490931b1","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-1.3.0.tgz","integrity":"sha512-5LSkVTbrkypDFHf2WKkTZ1vp54Y86k64WqRNX5gdvfpJGrGWGz2MUmlIUZDv+Dh68+9k8fLy9Y934WY12gJZEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtUEJXhI3D7JqtaaXa5V8yghFxOyHUxQDZe2W5fK7aYAiEAzbVTkjVyTfPAcD4M7N/oUzzLKUmrZs/izUZFiYS3KFw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.3.1":{"name":"run-browser","version":"1.3.1","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"^3.28.0","glob":"~3.2.7","minimist":"0.0.8","phantomjs":"~1.9.7-1","tap-finished":"0.0.1"},"devDependencies":{"linify":"^1.0.1"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@1.3.1","dist":{"shasum":"5fe7155d1f2e27b998bc67c0674d8612725756f2","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-1.3.1.tgz","integrity":"sha512-csbmq4wxqM6UDLOCHuJH8GRwsZZp6eIo2lrfiAUi2mdmEr/cG1YFfuvVidO86CvqOHyJYSzu3s+TNaZaPASf2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy9JG64sZ25/T72RQofKccif+J1mRW2TEw2Och2r88yAIhAKBxfSHYDbgNCNRe5z+FfzUdXizg4K/sSe2LPxqV9N16"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"2.0.0":{"name":"run-browser","version":"2.0.0","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"^3.28.0","browserify-istanbul":"^0.1.2","function-bind":"^1.0.2","glob":"~3.2.7","global":"^4.3.0","istanbul":"^0.3.2","jsonstream2":"^1.1.0","minimist":"0.0.8","phantomjs":"~1.9.7-1","process":"^0.9.0","tap-finished":"0.0.1","through2-spy":"^1.2.0","xhr":"^1.17.0"},"devDependencies":{"linify":"^1.0.1"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"e4184f5230339f5e96821e3a5cad6cb4d7e20283","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@2.0.0","_shasum":"67abcef3655800ddfa8ce855e7bda561da0a4b87","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"67abcef3655800ddfa8ce855e7bda561da0a4b87","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-2.0.0.tgz","integrity":"sha512-OXFk6HjYtDJrlwlmIqE48GK5OVZ4u/SYynSvjZkpPf1MXo6Kih0egnu0/Jc+Q5FlByP1MuuRmHyid6JV7j/Beg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8LXDBYhhEu3wqXJJAPAPnjgFVPzxwKCj96A5hAcZOuAiB57wz4ZpK9xADQW5qRE4CNbRMYYBgyd8Fb8K1szAn02w=="}]}},"2.0.1":{"name":"run-browser","version":"2.0.1","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"^3.28.0","browserify-istanbul":"^0.1.2","function-bind":"^1.0.2","glob":"~3.2.7","global":"^4.3.0","istanbul":"^0.3.2","jsonstream2":"^1.1.0","minimist":"0.0.8","phantomjs":"~1.9.7-1","process":"^0.9.0","tap-finished":"0.0.1","through2-spy":"^1.2.0","xhr":"^1.17.0"},"devDependencies":{"linify":"^1.0.1"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"749984aeacc35615823bf1e9931e03d15f4bda06","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@2.0.1","_shasum":"a86b95daa1ef0ba2558296d835158dc6e1de69ad","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"raynos","email":"raynos2@gmail.com"}],"dist":{"shasum":"a86b95daa1ef0ba2558296d835158dc6e1de69ad","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-2.0.1.tgz","integrity":"sha512-z054egKtIA7heb2V8Knbv71/nfoPQy6ApmMDG7uNY3jPIg4BOxISjSmBF+Z4fmkSwiRX9H/Ha29ACKTJRL9/+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKdkqA7P+KT6yNle6oJudqYVGaZmP9DXTr6SE2RleoYAiAUg/KrFH1lhoVW/1R1qHb2eSJ0J7AEulkCUztL795hvA=="}]}},"2.0.2":{"name":"run-browser","version":"2.0.2","description":"The simplest way to run testling type tests in the browser","bin":{"run-browser":"./bin/cli.js"},"keywords":[],"dependencies":{"browserify":"^3.28.0","browserify-istanbul":"^0.1.2","function-bind":"^1.0.2","glob":"~3.2.7","global":"^4.3.0","istanbul":"^0.3.2","jsonstream2":"^1.1.0","minimist":"0.0.8","phantomjs":"~1.9.7-1","process":"^0.9.0","tap-finished":"0.0.1","through2-spy":"^1.2.0","xhr":"^1.17.0"},"devDependencies":{"linify":"^1.0.1"},"scripts":{"prepublish":"linify transform ./bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"52873b4e7e627c5dcce093adb7a20e40adaea70e","bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"homepage":"https://github.com/ForbesLindesay/run-browser","_id":"run-browser@2.0.2","_shasum":"acf5496ada194da28a2c41657699e6914a1bca1d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"raynos","email":"raynos2@gmail.com"}],"dist":{"shasum":"acf5496ada194da28a2c41657699e6914a1bca1d","tarball":"https://registry.npmjs.org/run-browser/-/run-browser-2.0.2.tgz","integrity":"sha512-aGpRVQVF7J8qU93ylRQhWvzJ51j1/Cp2lmBS6elBR1Qu8aUMjffTzU0jilljsyqjp7yxCrI8gDkM+n8qmGwJKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJGKZKbJy4+OC/rioqifYY0a4k95c1UA7mGbce5FfJuAiBKMwtYsZKscalMaDeNZCgeusdRxj7U7uHICG7FIkMFNw=="}]}}},"readme":"# run-browser\n\nThe simplest way to run testling type tests in the browser\n\n[![Dependency Status](https://img.shields.io/gemnasium/ForbesLindesay/run-browser.svg)](https://gemnasium.com/ForbesLindesay/run-browser)\n[![NPM version](https://img.shields.io/npm/v/run-browser.svg)](http://badge.fury.io/js/run-browser)\n\n## Installation\n\n    npm install run-browser -g\n\n\n## Usage\n\n    run-browser <file> <options>\n\n    Options:\n      -p --port <number> The port number to run the server on (default: 3000)\n      -b --phantom       Use the phantom headless browser to run tests and then exit with the correct status code (if tests output TAP)\n      -r --report        Generate coverage Istanbul report. Repeat for each type of coverage report desired. (default: text only)\n      -t --timeout       Global timeout in milliseconds for tests to finish. (default: Infinity)\n\n    Example:\n      run-browser test-file.js --port 3030 --report text --report html --report=cobertura\n\n## API Usage\n\nBasic usage:\n\n```js\nvar runBrowser = require('run-browser');\n\nvar server = runBrowser('tests/test.js');\nserver.listen(3000);\n```\n\nAdvanced Usage:\n\n```js\nvar runBrowser = require('run-browser');\n\nvar handler = runBrowser.createHandler('tests/test.js');\nvar server = http.createServer(function (req, res) {\n  if (runBrowser.handles(req)) {\n    return handler(req, res);\n  }\n  // any other server logic here\n});\nserver.listen(3000);\n```\n\nFor advanced phantomjs usage, just read the source in `./bin/cli.js`\n\n## License\n\n  MIT\n","maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"raynos","email":"raynos2@gmail.com"},{"name":"zen_flow","email":"zenflow87@gmail.com"}],"time":{"modified":"2022-06-26T14:45:49.868Z","created":"2013-12-30T22:09:19.193Z","1.0.0":"2013-12-30T22:09:19.193Z","1.1.0":"2013-12-31T12:50:52.881Z","1.2.0":"2014-02-10T11:14:18.385Z","1.3.0":"2014-04-08T12:18:49.612Z","1.3.1":"2014-04-14T10:33:26.030Z","2.0.0":"2014-11-21T13:23:55.778Z","2.0.1":"2015-01-13T03:19:12.872Z","2.0.2":"2015-02-06T22:37:32.287Z"},"readmeFilename":"README.md","users":{"dguttman":true,"jfirebaugh":true,"wenbing":true,"tphummel":true,"koulmomo":true,"feyzee":true,"erikvold":true},"homepage":"https://github.com/ForbesLindesay/run-browser","keywords":[],"repository":{"type":"git","url":"https://github.com/ForbesLindesay/run-browser.git"},"author":{"name":"ForbesLindesay"},"bugs":{"url":"https://github.com/ForbesLindesay/run-browser/issues"},"license":"MIT"}