{"_id":"phantomjs-remote","_rev":"26-a268f87ed534e7104455c15ea426c66d","name":"phantomjs-remote","description":"Run PhantomJS scripts on a remote server","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"phantomjs-remote","version":"0.0.1","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.1","dist":{"shasum":"57809107b1987e592122c9908a9562532e0a2298","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.1.tgz","integrity":"sha512-9tLurYwdSC6R3pwGnVoEu0L3r7XzicX8BcE5Wor5hgThM5lqjqJyLoxZAIoER9GDK6QlTrScJGtkJbZ3ULQPsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWw7U4vOqnYPEWRPoLR3LSarHH56G4n1A0eYu1LO43NwIhAMIsBa7iOApRIP+whtau2P1RdfjaF3XF1uZIe8VQOA4M"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.2":{"name":"phantomjs-remote","version":"0.0.2","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.2","dist":{"shasum":"59a8e06804ab5128d8d7990df22bf83075442a4a","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.2.tgz","integrity":"sha512-9LNDsUv+CP/f9+bS5eR0ry9zwA4g/8B4lbjH3mgPXSj9ISXlUvzLanYt2zou2FPl+2oHKxAy3Gt3LPPXkmcUkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUX/qotjq+js41DGg5KFAqSs9LimkQst3GTokp5YcvGAIhAJsqKHjX4OYAAiFkBEam3yxTVkw7Xgb4FpJEyK9VDm+b"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.3":{"name":"phantomjs-remote","version":"0.0.3","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.3","dist":{"shasum":"56e2641c8114aeb8f701418001785f4f2dd4a78a","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.3.tgz","integrity":"sha512-M4LCdWlIBVvWSSgDFX+yoDqCFz/oUd4qbt4Ag4VrY6kD/jyhHBbClSxm+CB+YUmACSmygTEEHCr0NuZE5JigBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmOWkyxroZKr3G+ZtGZxNJigXEmXMBMoxMxpC+B/N6hAiARcLALRqTeO3KygF15USZoNOBucRc3L3WqyVQsUVusNg=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.4":{"name":"phantomjs-remote","version":"0.0.4","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.4","dist":{"shasum":"fddc9c049f4056503bb25a8d7629f2e3e66495f5","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.4.tgz","integrity":"sha512-esGtt4OgpO3+EKVswOombuNMCtEgxnOt1IQvEuuqiPxtoJjCfWifoHI26l+LQB4zUMTOQkRFQKnxHsNpjysRcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXIEeWhPjRaoxyBNtjMNazFCmFHeezyd+jbM0/w2jbtwIgMhC0MfgzSlRW6sijuyL5ZlipQmAQbco1s8pd6g2/5RM="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.5":{"name":"phantomjs-remote","version":"0.0.5","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.5","dist":{"shasum":"5b770d92bbc3770f8d4dd027a1916cefc4bd09ff","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.5.tgz","integrity":"sha512-1M0FYzVXXtAibazdvi1OvsUqnznBZWrwpZcF5przGRzIqy0xKgXk0KCe5WU7/H7sBV6zPeMpkwYxseiBBWVmPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwMk4CdV8LwSQw4mYn6Ie6b+xl6uk9aEHJ1TeiQbrUVQIhAO2qKty6rJcI+1Xs0UjEN6NVHo6Fux2Bb81A3e9R8s0y"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.6":{"name":"phantomjs-remote","version":"0.0.6","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.6","dist":{"shasum":"b3ed8bd86b1f60dd170368fe1a3104e228c68952","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.6.tgz","integrity":"sha512-z9D/qn2V0RrPGN6+5e2IfXvtlUP1FpGZlKo2LuYJ6TpgUJ3Wfv9Fu/hElMmHsKA5CZN011SM2I7OMhzQoEVmQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC++0LjhmP/6onCgwBGg6b4AYm9HRd3jv7wnpaAeKAvMgIhANdq7mJrvKpz8Uw9cHRHXpysxzY0AFCj+SThULfUsK7m"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.7":{"name":"phantomjs-remote","version":"0.0.7","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.7","dist":{"shasum":"e6185c9ad114eef721ae0d8aa48668b466ae1465","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.7.tgz","integrity":"sha512-F0TYcSey7fpT9Ho9DYTeNPvJE0MhZCvSL3LCQGavJG9qTOz7rfXaQQynR016uoAak9CnDuBwuB21EkRmHAr33g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBB5Przk0NvhAEdnDp8hQrIJJL9I1dNoQj6bLEeiDpTHAiAPiENst/PK/Ppf0TNv2wyI2feEJdhtPLAW7CYSYFbdAw=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.8":{"name":"phantomjs-remote","version":"0.0.8","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"_id":"phantomjs-remote@0.0.8","dist":{"shasum":"1e6666b304f5d48b91964996c5d79b31d53b6ba1","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.8.tgz","integrity":"sha512-Z6NNqDdfeeYdk8Ge4bHCnMi+rsGzO+DnZ5EaDKEOdTONE8CM7aFdJobCVHEAWX4C3m3fB++V2rpGThWzu/K93A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxnlBLbC3pu3mtjm02GHGAIkIYb4Obo6wgIJv6dQFHkgIgRb1y1FEYFDnWnnWJDbjVH/N/5m1A2kLXAISFi4afKeM="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]},"0.0.9":{"name":"phantomjs-remote","version":"0.0.9","description":"Run PhantomJS scripts on a remote server","main":"phantom-client.js","scripts":{"test.oneday":"echo \"Error: no test specified\" && exit 1"},"homepage":"http://github.com/gadicohen/phantomjs-remote","repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"keywords":["phantomjs"],"author":{"name":"Gadi Cohen"},"email":"dragon@wastelands.net","license":"BSD","dependencies":{"net":"1.0.0"},"bugs":{"url":"https://github.com/gadicohen/phantomjs-remote/issues"},"_id":"phantomjs-remote@0.0.9","dist":{"shasum":"459a4cc1c83be50dea642a71d903c120f3394568","tarball":"https://registry.npmjs.org/phantomjs-remote/-/phantomjs-remote-0.0.9.tgz","integrity":"sha512-XkPHT2mL7E0c1KengfitaaQ6g2yeowY3Bzh52kkudMv1bC/b0vQw5UahNZZP8ajCcnZzwVSmFaRl9UFILV+s9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBO48hKYMepztf7/Fo/2EIMKw1R+0QPSjeletO4zJXN8AiAxSKuHl1jGWAUcTrg8zeM1wEUYMy2zKW7MbnCeNO/8Ww=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"gadicohen","email":"dragon@wastelands.net"},"maintainers":[{"name":"gadicohen","email":"dragon@wastelands.net"}]}},"readme":"## phantomjs-remote\n\nRun [PhantomJS](http://phantomjs.org/) scripts on a remote server (e.g. if the phantomjs\nbinary is not available on the local system, like a PaaS virtual machine with an\nunsupported architecture for [phantomjs node wrapper](https://github.com/Obvious/phantomjs).)\n\nThis is my first node.js script, go easy on me :)\n\n## Usage\n\n```js\nvar phantomjs_remote = require('phantomjs-remote');\nphantomjs_remote.send(phantomJsScript, callback, [options], [host], [port]).\n```\n\n*options* is an optional JSON dictionary with any required options, for now only *load-images* is supported, e.g. { 'load-images': 'no' }.\n\nThe last two options may be ommitted if PHANTOMJS_REMOTE environment variable is set\nwith \"host:port\".\n\nShort example:\n```js\nphantomjs_remote('console.log(1); phantom.exit();', function(error, result) {\n\tif (!error)\n\t\tconsole.log(result);\n}, { 'load-images': 'no'} );\n```\n\n## Server script / SECURITY\n\nYou are advised against running this script on it's own and should instead:\n\n1. Run it in a chroot jail\n2. Firewall the port to only receive connections from trusted hosts\n\nAnyways, run like this:\n\n```bash\nnode phantom-server.js <listenPort>\n```\n\nor\n```bash\nwhile `true`; do node phantom-server.js <listenPort> ; done \n```\n\n","maintainers":[{"name":"gadicc","email":"dragon@wastelands.net"}],"time":{"modified":"2022-06-23T20:42:13.649Z","created":"2013-07-07T11:25:43.937Z","0.0.1":"2013-07-07T11:25:48.217Z","0.0.2":"2013-07-07T11:27:32.518Z","0.0.3":"2013-07-07T11:32:59.893Z","0.0.4":"2013-07-07T11:45:32.877Z","0.0.5":"2013-07-07T11:54:51.578Z","0.0.6":"2013-07-07T13:37:49.490Z","0.0.7":"2013-07-07T17:30:47.695Z","0.0.8":"2013-07-07T17:59:35.207Z","0.0.9":"2014-10-29T13:46:15.613Z"},"author":{"name":"Gadi Cohen"},"repository":{"type":"git","url":"http://github.com/gadicohen/phantomjs-remote.git"},"users":{"rdooh":true},"homepage":"http://github.com/gadicohen/phantomjs-remote","keywords":["phantomjs"],"bugs":{"url":"https://github.com/gadicohen/phantomjs-remote/issues"},"license":"BSD","readmeFilename":"README.md"}