Wicked Good XPath
Download the latest wgxpath.install.js file and include it on your webpage with a script tag. For example:
document.evaluate, the XPath evaluation function, is defined on the window object. To install the library on a different window, pass that window as an argument to the install function.
To install via NPM or Bower, do
npm install wicked-good-xpath
bower install wicked-good-xpath
Building it Yourself
We use Gulp:
npm install gulp
You can also run
src/compile.sh if you want to use different versions of
Closure Compiler / Closure Library.