Using npm, I grabbed this package. https://npmjs.org/package/phantom-crawl
How do I run it? - The example script gave me this error:
Error: Cannot find module './src/PhantomCrawl'
phantomjs://bootstrap.js:289
phantomjs://bootstrap.js:254 in require
example.js:3
Specifically this line needs to be changed; but unsure of the nodejs path syntax to use for this:
var PhantomCrawl = require('./src/PhantomCrawl');
You need to run it relative to the src directory.
So if you installed locally using npm install phantom-crawl you would need to cd node_modules/phantom-crawl before you can run the example. Which also happens to be in that directory.