{"dist":{"shasum":"098038a6f632a218e48e43f4a6ce1fa6a1877dcb","tarball":"https://registry.npmjs.org/phantom-sync/-/phantom-sync-1.0.0.tgz","integrity":"sha512-N9zDWVEON77ahyGWv+zTprlkEQMHYFpBpoBBQ7Yv9zce0LWyfdXndPiNACLtHJw1jhw/Rfi19TfDA5mPJzbZnw==","signatures":[{"sig":"MEYCIQDA8RAk/2KLIsNq44tryqOP/UqkTt+zq9PXKgbvVfvWJwIhAOI9xEf2xjCwpz9pbVzZGYxGGggReIuVD5Jy1zt4lKGt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","name":"phantom-sync","author":{"name":"Seb Vincent","email":"seb.vincent@gmail.com"},"engine":"node >= 0.6.1","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","scripts":{"test":"cake test"},"_npmUser":{"name":"sebv","email":"seb.vincent@gmail.com"},"keywords":["phantom","phantomjs","sync","synchronous"],"repository":{"url":"git@github.com:sebv/node-phantomjs-sync.git","type":"git"},"_npmVersion":"1.1.63","description":"sync version of phantom","maintainers":[{"name":"sebv","email":"seb.vincent@gmail.com"}],"dependencies":{"phantom":"git://github.com/sebv/phantomjs-node.git","make-sync":"0.1.x"},"devDependencies":{"temp":"0.4.x","mocha":"1.6.x","should":"1.2.x","express":"3.0.x","ps-tree":"0.0.x","coffee-script":"1.3.x","sv-cake-utils":"0.1.x"},"_id":"phantom-sync@1.0.0","version":"1.0.0"}