{"_id":"phantom-sync","_rev":"44-957bc1f2e00866136ba3c3138df2ff19","name":"phantom-sync","description":"sync version of phantom","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.1":{"name":"phantom-sync","version":"0.0.1","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"latest","make-sync":"latest"},"devDependencies":{"sv-cake-utils":"latest","vows":"latest","should":"latest","ps-tree":"latest","express":"latest","temp":"latest","underscore":"latest"},"_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"_id":"phantom-sync@0.0.1","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"4bf26fff6fcf3d426cf606fd3e70a70e6b5b29ff","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-0.0.1.tgz","integrity":"sha512-UYLsoHxVor0HORmIH7mELe5ZjzPvvLdD/CTAEijP0VqPa0zhJz3rFGYkKMNOjhE2/q2xhCR1KDYa/DVAyYrDJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc+K4iJJi/fLtis1pgAIQe5tpu0RMHDfeqm/iiqS2qWAIhAL19czKljH5lPCFipcwj3Q3yOLjesdipv2XvxXkZC6Zj"}]},"readme":"","maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}],"directories":{}},"0.1.0":{"name":"phantom-sync","version":"0.1.0","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"0.3.x","make-sync":"0.1.x"},"devDependencies":{"sv-cake-utils":"0.1.x","vows":"0.6.x","should":"0.6.x","ps-tree":"0.0.x","express":"2.5.x","temp":"0.4.x","underscore":"1.3.x"},"_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"_id":"phantom-sync@0.1.0","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"2d83ebac94841f20e37911b4a07523fdb3b9aae2","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-0.1.0.tgz","integrity":"sha512-q6XXgdyZdTp34s0n7HgOXH3pVr5fu9O/c9uXsVLO2hKEStaY5ddKRVWG51G+VaiAhn4bsADRoyeopAylYHzDIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvlwSGR/tmQu/BBHAXwdIY36H32EDRMt6qJt/1rIXt8QIhAKYX0nb81mJwLqARMCqf2h6c+5AlUDSNcgF1lReuEcD9"}]},"readme":"","maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}],"directories":{}},"0.1.1":{"name":"phantom-sync","version":"0.1.1","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"0.3.x","make-sync":"0.1.x"},"devDependencies":{"coffee-script":"1.3.x","sv-cake-utils":"0.1.x","vows":"0.6.x","mocha":"1.0.x","should":"0.6.x","ps-tree":"0.0.x","express":"2.5.x","temp":"0.4.x","underscore":"1.3.x"},"_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"_id":"phantom-sync@0.1.1","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"1891e0801378e16a774f59dd4458d0632414a4b8","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-0.1.1.tgz","integrity":"sha512-RmCEz4Y2n0NBamm9Jt6rTyY4J6afCMrCSxjrf1Mx7cqXDfq1ixxvsXMjYN48FEfxQOnukOA7WeiYTCT68wjEcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxQ/vE3pmcg2pat2apmf1bnHKBXQF2RMs6xzgWupfaBAIhAOMj59rC5fttfYW0DVwIukfgZud637T+CZLfZoDk09Mb"}]},"readme":"","maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}],"directories":{}},"0.1.2":{"name":"phantom-sync","version":"0.1.2","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"git://github.com/sebv/phantomjs-node.git","make-sync":"0.1.x","underscore":"1.3.x"},"devDependencies":{"coffee-script":"1.3.x","sv-cake-utils":"0.1.x","vows":"0.6.x","mocha":"1.0.x","should":"0.6.x","ps-tree":"0.0.x","express":"2.5.x","temp":"0.4.x"},"readme":"# phantomjs-node-sync\n\nThis is a synchronous version of the [phantom for node](http://github.com/sgentle/phantomjs-node) \nmodule using [fibers](http://github.com/laverdet/node-fibers). There are different modes\navailable, allowing the [PhantomJS](http://www.phantomjs.org/) API to be used synchronously, \nasynchronously, or a mix of both.\n\n\n## install\n\n```\nnpm install phantom-sync\n```\n\n## simple usage (coffeescript)\n\n```coffeescript\n{Phantom,Sync} = require 'phantom-sync'\n\nphantom = new Phantom \n\nSync ->\n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n  ph.exit()  \n```\n\n## API\n\n### async API\n\nSame as [phantom for node](http://github.com/sgentle/phantomjs-node) \n\nWhen using the ['mixed','args'] mode, make sure that a 'done' callback is passed to methods \nlike 'onConsoleMessage' or 'evaluate', even when not expecting return values, otherwise the \nmethods will be called synchronously.\n\n### sync API\n\nThis is the [phantom for node](http://github.com/sgentle/phantomjs-node) API where that callbacks have been transformed into returns. \nTherefore it should be very similar to the [PhantomJS API](http://code.google.com/p/phantomjs/wiki/Interface), \nexcept for the getters/setters function which need to be called like in the following code:\n\n```coffeescript\np.page.set 'settings.loadImages', false\np.page.get 'settings.loadImages'\n```\n\n## modes\n\nPlease refer to [make-sync](http://github.com/sebv/node-make-sync/blob/master/README.markdown#modes) for\ndetailed mode descriptions.\n\n```coffeescript\n# sync (default)\nphantom = new Phantom   \nphantom = new Phantom mode:'sync'   \n# async\nphantom = new Phantom mode:'async'   \n# mixed-args (mixed default)\nphantom = new Phantom mode:'mixed'\nphantom = new Phantom mode:['mixed','args']\n# mixed-fibers\nphantom = new Phantom mode:['mixed','fibers']\n```\n\n\n## mixed mode example (coffeescript)\n\n```coffeescript\n{Phantom,Sync} = require 'phantom-sync'\n\nphantom = new Phantom mode:'mixed' \n\n[page,ph] = [] \n# sync calls\nSync ->\n  console.log \"Step 1\"    \n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n\n# async calls on the the previous objects\nsetTimeout ->\n  console.log \"Step 2\"  \n  page.open \"http://www.yahoo.com\", (status) ->  \n    console.log \"status=\", status  \n    page.evaluate (-> document.title), (title) -> \n      console.log \"title=\", title\n      ph.exit()\n  # using async calls to create a new set of objects\n  setTimeout ->\n    console.log \"Step 3\"  \n    phantom.create (ph2) ->\n      ph2.createPage (page2) ->\n        page2.open \"http://www.apple.com\", (status) ->  \n          console.log \"status=\", status  \n          page2.evaluate (-> document.title), (title) -> \n            console.log \"title=\", title\n            ph2.exit()\n  , 10000  \n, 10000    \n```\n","_id":"phantom-sync@0.1.2","dist":{"shasum":"498c02cf979f4892cd0bc12310297e775a421f86","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-0.1.2.tgz","integrity":"sha512-smTLddcBA6gQ4sUORBuFG0QBCZ8K4vY/LiUp3oBGuq4LpiMOho18bj7FiQRBJEc9nFDYK5vp2lRUqfGAcpIKwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYQLR92b3dk74Ajnn2gmZ+DKpGwthJR5kXln/FWltK6QIhAPE9o1bPcFuFtNRPeAO6Nax682Lj6ceaS+EzbEn7wg8D"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}],"directories":{}},"0.1.3":{"name":"phantom-sync","version":"0.1.3","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"git://github.com/sebv/phantomjs-node.git","make-sync":"0.1.x","underscore":"1.3.x"},"devDependencies":{"coffee-script":"git://github.com/jashkenas/coffee-script.git","sv-cake-utils":"0.1.x","vows":"0.6.x","mocha":"1.4.x","should":"1.1.x","ps-tree":"0.0.x","express":"2.5.x","temp":"0.4.x"},"readme":"# phantomjs-node-sync\n\nThis is a synchronous version of the [phantom for node](http://github.com/sgentle/phantomjs-node) \nmodule using [fibers](http://github.com/laverdet/node-fibers). There are different modes\navailable, allowing the [PhantomJS](http://www.phantomjs.org/) API to be used synchronously, \nasynchronously, or a mix of both.\n\n\n## install\n\n```\nnpm install phantom-sync\n```\n\n## simple usage (coffeescript)\n\n```coffeescript\n{Phantom,Sync} = require 'phantom-sync'\n\nphantom = new Phantom \n\nSync ->\n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n  ph.exit()  \n```\n\n## API\n\n### async API\n\nSame as [phantom for node](http://github.com/sgentle/phantomjs-node) \n\nWhen using the ['mixed','args'] mode, make sure that a 'done' callback is passed to methods \nlike 'onConsoleMessage' or 'evaluate', even when not expecting return values, otherwise the \nmethods will be called synchronously.\n\n### sync API\n\nThis is the [phantom for node](http://github.com/sgentle/phantomjs-node) API where that callbacks have been transformed into returns. \nTherefore it should be very similar to the [PhantomJS API](http://code.google.com/p/phantomjs/wiki/Interface), \nexcept for the getters/setters function which need to be called like in the following code:\n\n```coffeescript\np.page.set 'settings.loadImages', false\np.page.get 'settings.loadImages'\n```\n\n## modes\n\nPlease refer to [make-sync](http://github.com/sebv/node-make-sync/blob/master/README.markdown#modes) for\ndetailed mode descriptions.\n\n```coffeescript\n# sync (default)\nphantom = new Phantom   \nphantom = new Phantom mode:'sync'   \n# async\nphantom = new Phantom mode:'async'   \n# mixed-args (mixed default)\nphantom = new Phantom mode:'mixed'\nphantom = new Phantom mode:['mixed','args']\n# mixed-fibers\nphantom = new Phantom mode:['mixed','fibers']\n```\n\n\n## mixed mode example (coffeescript)\n\n```coffeescript\n{Phantom,Sync} = require 'phantom-sync'\n\nphantom = new Phantom mode:'mixed' \n\n[page,ph] = [] \n# sync calls\nSync ->\n  console.log \"Step 1\"    \n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n\n# async calls on the the previous objects\nsetTimeout ->\n  console.log \"Step 2\"  \n  page.open \"http://www.yahoo.com\", (status) ->  \n    console.log \"status=\", status  \n    page.evaluate (-> document.title), (title) -> \n      console.log \"title=\", title\n      ph.exit()\n  # using async calls to create a new set of objects\n  setTimeout ->\n    console.log \"Step 3\"  \n    phantom.create (ph2) ->\n      ph2.createPage (page2) ->\n        page2.open \"http://www.apple.com\", (status) ->  \n          console.log \"status=\", status  \n          page2.evaluate (-> document.title), (title) -> \n            console.log \"title=\", title\n            ph2.exit()\n  , 10000  \n, 10000    \n```\n","_id":"phantom-sync@0.1.3","dist":{"shasum":"70f2525f2134a7a6f67889466acba999eef42086","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-0.1.3.tgz","integrity":"sha512-dIbRlnRMZwqKhLQ9OMF4WbxSQqZCCNwASiXoXA836nK0Y91zS4zX0vqA1Lzkyre1DeCe/7Ldzmo8j9xYrPFrCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCq32ZhmyTF8SM/nUPcz1gbP0NkFQRH/lSwhr24/1d/hAIgSG07q7qex3cJVfEllHEGVTYYibC4XlAB+Pu8sSOMJcM="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}]},"0.1.4":{"name":"phantom-sync","version":"0.1.4","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"git://github.com/sebv/phantomjs-node.git","make-sync":"0.1.x","underscore":"1.4.x"},"devDependencies":{"coffee-script":"1.3.x","sv-cake-utils":"0.1.x","vows":"0.6.x","mocha":"1.6.x","should":"1.2.x","ps-tree":"0.0.x","express":"3.0.x","temp":"0.4.x"},"readme":"# phantomjs-node-sync\n\nThis is a synchronous version of the [phantom for node](http://github.com/sgentle/phantomjs-node) \nmodule using [fibers](http://github.com/laverdet/node-fibers). There are different modes\navailable, allowing the [PhantomJS](http://www.phantomjs.org/) API to be used synchronously, \nasynchronously, or a mix of both.\n\n\n## install\n\n```\nnpm install phantom-sync\n```\n\n## simple usage (coffeescript)\n\n```coffeescript\n{Phantom,Sync} = require 'phantom-sync'\n\nphantom = new Phantom \n\nSync ->\n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n  ph.exit()  \n```\n\n## API\n\n### async API\n\nSame as [phantom for node](http://github.com/sgentle/phantomjs-node) \n\nWhen using the ['mixed','args'] mode, make sure that a 'done' callback is passed to methods \nlike 'onConsoleMessage' or 'evaluate', even when not expecting return values, otherwise the \nmethods will be called synchronously.\n\n### sync API\n\nThis is the [phantom for node](http://github.com/sgentle/phantomjs-node) API where that callbacks have been transformed into returns. \nTherefore it should be very similar to the [PhantomJS API](http://code.google.com/p/phantomjs/wiki/Interface), \nexcept for the getters/setters function which need to be called like in the following code:\n\n```coffeescript\np.page.set 'settings.loadImages', false\np.page.get 'settings.loadImages'\n```\n\n## modes\n\nPlease refer to [make-sync](http://github.com/sebv/node-make-sync/blob/master/README.markdown#modes) for\ndetailed mode descriptions.\n\n```coffeescript\n# sync (default)\nphantom = new Phantom   \nphantom = new Phantom mode:'sync'   \n# async\nphantom = new Phantom mode:'async'   \n# mixed-args (mixed default)\nphantom = new Phantom mode:'mixed'\nphantom = new Phantom mode:['mixed','args']\n# mixed-fibers\nphantom = new Phantom mode:['mixed','fibers']\n```\n\n\n## mixed mode example (coffeescript)\n\n```coffeescript\n{Phantom,Sync} = require 'phantom-sync'\n\nphantom = new Phantom mode:'mixed' \n\n[page,ph] = [] \n# sync calls\nSync ->\n  console.log \"Step 1\"    \n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n\n# async calls on the the previous objects\nsetTimeout ->\n  console.log \"Step 2\"  \n  page.open \"http://www.yahoo.com\", (status) ->  \n    console.log \"status=\", status  \n    page.evaluate (-> document.title), (title) -> \n      console.log \"title=\", title\n      ph.exit()\n  # using async calls to create a new set of objects\n  setTimeout ->\n    console.log \"Step 3\"  \n    phantom.create (ph2) ->\n      ph2.createPage (page2) ->\n        page2.open \"http://www.apple.com\", (status) ->  \n          console.log \"status=\", status  \n          page2.evaluate (-> document.title), (title) -> \n            console.log \"title=\", title\n            ph2.exit()\n  , 10000  \n, 10000    \n```\n","_id":"phantom-sync@0.1.4","dist":{"shasum":"cee649a97686cd3bfdcd5becbcbc9948a65d2e77","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-0.1.4.tgz","integrity":"sha512-acE1jVd7Zy3TnnDrqnExFaFV7K0xlwf9n3+WjOqL0ostK/OtwPeFxbXcD1nkynYEovh+M/1zApPPgbgLsv82LQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIes5MPZrjlmkJY9sSKWgulZknsMCVwKtLrjXRnONUzAIgD/t801rYKMBPyxocHRh+6Ml9q1qok8v0TasJTr2hoLs="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}]},"1.0.0":{"name":"phantom-sync","version":"1.0.0","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"git://github.com/sebv/phantomjs-node.git","make-sync":"0.1.x"},"devDependencies":{"coffee-script":"1.3.x","sv-cake-utils":"0.1.x","mocha":"1.6.x","should":"1.2.x","ps-tree":"0.0.x","express":"3.0.x","temp":"0.4.x"},"readme":"# phantomjs-node-sync\n\nNote: API change in version 1.0.0, see section below.\n\nThis is a synchronous version of the [phantom for node](http://github.com/sgentle/phantomjs-node) \nmodule using [fibers](http://github.com/laverdet/node-fibers). \n\n## install\n\n```\nnpm install phantom-sync\n```\n\n## upgrade to V1\n\nThe main changes are the following:\n\n- 1/ async and mixed mode options have been removed\n- 2/ require should be: `{phantom,sync} = require 'phantom-sync'`\n- 3/ no need to create a Phantom object\n\n## usage (coffeescript)\n\n```coffeescript\n{phantom,sync} = require 'phantom-sync'\n\nsync ->\n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n  ph.exit()  \n```\n\n## API\n\nThis is the [phantom for node](http://github.com/sgentle/phantomjs-node) API where that callbacks have been transformed into returns. \nTherefore it should be very similar to the [PhantomJS API](http://code.google.com/p/phantomjs/wiki/Interface), \nexcept for the getters/setters function which need to be called like in the following code:\n\n```coffeescript\npage.set 'settings.loadImages', false\npage.get 'settings.loadImages'\n```\n","_id":"phantom-sync@1.0.0","dist":{"shasum":"098038a6f632a218e48e43f4a6ce1fa6a1877dcb","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-1.0.0.tgz","integrity":"sha512-N9zDWVEON77ahyGWv+zTprlkEQMHYFpBpoBBQ7Yv9zce0LWyfdXndPiNACLtHJw1jhw/Rfi19TfDA5mPJzbZnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDA8RAk/2KLIsNq44tryqOP/UqkTt+zq9PXKgbvVfvWJwIhAOI9xEf2xjCwpz9pbVzZGYxGGggReIuVD5Jy1zt4lKGt"}]},"_npmVersion":"1.1.63","_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}]},"1.0.1":{"name":"phantom-sync","version":"1.0.1","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"phantom":"git://github.com/sebv/phantomjs-node.git","make-sync":"0.1.x"},"devDependencies":{"coffee-script":"latest","sv-cake-utils":"latest","mocha":"latest","should":"latest","ps-tree":"latest","express":"latest","temp":"latest"},"readme":"# node-phantomjs-sync [![Build Status](https://secure.travis-ci.org/sebv/node-phantomjs-sync.png?branch=master)](http://travis-ci.org/sebv/node-phantomjs-sync)\n\nNote: API change in version 1.0.0, see section below.\n\nThis is a synchronous version of the [phantom for node](http://github.com/sgentle/phantomjs-node) \nmodule using [fibers](http://github.com/laverdet/node-fibers). \n\n## install\n\n```\nnpm install phantom-sync\n```\n\n## upgrade to V1\n\nThe main changes are the following:\n\n- 1/ async and mixed mode options have been removed\n- 2/ require should be: `{phantom,sync} = require 'phantom-sync'`\n- 3/ no need to create a Phantom object\n\n## usage (coffeescript)\n\n```coffeescript\n{phantom,sync} = require 'phantom-sync'\n\nsync ->\n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n  ph.exit()  \n```\n\n## API\n\nThis is the [phantom for node](http://github.com/sgentle/phantomjs-node) API where that callbacks have been transformed into returns. \nTherefore it should be very similar to the [PhantomJS API](http://code.google.com/p/phantomjs/wiki/Interface), \nexcept for the getters/setters function which need to be called like in the following code:\n\n```coffeescript\npage.set 'settings.loadImages', false\npage.get 'settings.loadImages'\n```\n","readmeFilename":"README.md","_id":"phantom-sync@1.0.1","dist":{"shasum":"90d93982b6c92d7dfb3f9d8d4423b07c4fd61f8f","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-1.0.1.tgz","integrity":"sha512-f3QR48662mjRIr3S4HvS/wUPvbSbxc7Tcmznb1Z/EgPvmn+/WNUxKNp5EDk/XAwGtJ2sbppoHdtkqYJ+0PlAWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNEva+7cLqeoWCFpTxHq6yuHLaNDetl3jLWjsUf+PJMgIhAJazxzTR5M7Vi171EoFGFbQBtKFR30WZ77PZr95M4Crz"}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}]},"1.1.0":{"name":"phantom-sync","version":"1.1.0","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"make-sync":"~0.2.0","phantom":"~0.5.4"},"devDependencies":{"coffee-script":"~1.6.3","sv-cake-utils":"~0.1.8","mocha":"~1.13.0","should":"~2.0.2","temp":"~0.6.0","ps-tree":"0.0.3","express":"~3.4.3"},"readme":"# node-phantomjs-sync [![Build Status](https://secure.travis-ci.org/sebv/node-phantomjs-sync.png?branch=master)](http://travis-ci.org/sebv/node-phantomjs-sync)\n\nNote: API change in version 1.0.0, see section below.\n\nThis is a synchronous version of the [phantom for node](http://github.com/sgentle/phantomjs-node) \nmodule using [fibers](http://github.com/laverdet/node-fibers). \n\n## install\n\n```\nnpm install phantom-sync\n```\n\n## upgrade to V1\n\nThe main changes are the following:\n\n- 1/ async and mixed mode options have been removed\n- 2/ require should be: `{phantom,sync} = require 'phantom-sync'`\n- 3/ no need to create a Phantom object\n\n## usage (coffeescript)\n\n```coffeescript\n{phantom,sync} = require 'phantom-sync'\n\nsync ->\n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n  ph.exit()  \n```\n\n## API\n\nThis is the [phantom for node](http://github.com/sgentle/phantomjs-node) API where that callbacks have been transformed into returns. \nTherefore it should be very similar to the [PhantomJS API](http://code.google.com/p/phantomjs/wiki/Interface), \nexcept for the getters/setters function which need to be called like in the following code:\n\n```coffeescript\npage.set 'settings.loadImages', false\npage.get 'settings.loadImages'\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/sebv/node-phantomjs-sync/issues"},"homepage":"https://github.com/sebv/node-phantomjs-sync","_id":"phantom-sync@1.1.0","dist":{"shasum":"3ec85c03a44cd39a6b6ac6ceedb7a8275535bca2","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-1.1.0.tgz","integrity":"sha512-TDziayurHetrvbtk2HJFyJycqihocahp6FsFHZtRS7VxE9OTCLTZ5kpIGdEFL0s5zPYj3kjjAttel7Y+yJIdQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl66IoLZXMhIGcN93pn+NPXf13beQnFnBh7OJulpNaRQIhAMLaADaM8c5q7RhXZCVOuIMqxttgmsux8gWsge0RtqD7"}]},"_from":".","_npmVersion":"1.3.12","_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}]},"1.1.1":{"name":"phantom-sync","version":"1.1.1","description":"sync version of phantom","keywords":["phantom","phantomjs","sync","synchronous"],"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"main":"./index","engine":"node >= 0.6.1","scripts":{"test":"cake test"},"dependencies":{"make-sync":"~0.2.0","phantom":"~0.5.4"},"devDependencies":{"coffee-script":"~1.6.3","sv-cake-utils":"~0.1.8","mocha":"~1.13.0","should":"~2.0.2","temp":"~0.6.0","ps-tree":"0.0.3","express":"~3.4.3"},"readme":"# node-phantomjs-sync [![Build Status](https://secure.travis-ci.org/sebv/node-phantomjs-sync.png?branch=master)](http://travis-ci.org/sebv/node-phantomjs-sync)\n\nNote: API change in version 1.0.0, see section below.\n\nThis is a synchronous version of the [phantom for node](http://github.com/sgentle/phantomjs-node) \nmodule using [fibers](http://github.com/laverdet/node-fibers). \n\n## install\n\n```\nnpm install phantom-sync\n```\n\n## upgrade to V1\n\nThe main changes are the following:\n\n- 1/ async and mixed mode options have been removed\n- 2/ require should be: `{phantom,sync} = require 'phantom-sync'`\n- 3/ no need to create a Phantom object\n\n## usage (coffeescript)\n\n```coffeescript\n{phantom,sync} = require 'phantom-sync'\n\nsync ->\n  ph = phantom.create()\n  page = ph.createPage()\n  status = page.open \"http://www.google.com\"\n  console.log \"status=\", status  \n  title = page.evaluate ->\n    document.title\n  console.log \"title=\", title\n  ph.exit()  \n```\n\n## API\n\nThis is the [phantom for node](http://github.com/sgentle/phantomjs-node) API where that callbacks have been transformed into returns. \nTherefore it should be very similar to the [PhantomJS API](http://code.google.com/p/phantomjs/wiki/Interface), \nexcept for the getters/setters function which need to be called like in the following code:\n\n```coffeescript\npage.set 'settings.loadImages', false\npage.get 'settings.loadImages'\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/sebv/node-phantomjs-sync/issues"},"homepage":"https://github.com/sebv/node-phantomjs-sync","_id":"phantom-sync@1.1.1","dist":{"shasum":"f8524b659af820a0b2c56b751322e063aa16013c","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-1.1.1.tgz","integrity":"sha512-P20S5VSQAIt0CRRh4v7wwb/c7LYT/EAE7g/ScwFNeg8/0hfGgPl5bA4XK5wMhqAKmNY2B8uAzoHsjW6M+N5w2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrIjwuL0rCTrWiX8J3VXs+AhEYyRh2EY6GD22sArGjmAiEAremz2h8zCYuhS/GFYvqWsZ5SXZuBG2Ufpx9lkpfORwA="}]},"_from":".","_npmVersion":"1.3.12","_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}]}},"readme":"","maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}],"time":{"modified":"2022-06-23T20:34:30.554Z","created":"2012-05-02T01:48:53.784Z","0.0.1":"2012-05-02T01:48:58.929Z","0.1.0":"2012-05-10T00:54:04.557Z","0.1.1":"2012-05-19T04:43:24.197Z","0.1.2":"2012-09-14T16:59:24.519Z","0.1.3":"2012-09-27T02:44:09.159Z","0.1.4":"2012-10-08T14:03:37.924Z","1.0.0":"2012-10-26T13:27:58.528Z","1.0.1":"2013-01-24T09:45:15.567Z","1.1.0":"2013-10-27T03:48:17.388Z","1.1.1":"2013-10-27T06:25:44.295Z"},"author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"repository":{"type":"git","url":"git@github.com:sebv/node-phantomjs-sync.git"},"users":{"rain1017":true}}