Node.js to use external JS file?

Actually i'm using node-crawler under Node.js. Then i currently need to use the methods of PHPJS (An External Javascript File). How can i add or include that JS file into NODE.JS environment?

You can download one of the CommonJS files (here: http://phpjs.org/packages/index), save it locally and just require it like a standard NodeJS module:

var php = require('name of file');

php.md5(...)

Just like any other file, except perhaps it will be up a few levels?:

enter code hererequire('../../path/to/whatever.js');