Clones a nodejs package, runs a script and returns the result.