DOM 3 XPath implementation (with XPath 2.0 language support)
npm install xpath2
> The xpath2 package API is compatible with the npm xpath package API
jsconsole.log(xpath2.evaluate("1 + 2"));
outputs
js3