🔨 Convert XPath to Selector as Tagged template literal
npm install xpath-to-css-template-string-tagconst { x } = require('xpath-to-css-template-string-tag');
x`//div[@id="foo"]` // 'div#foo'npm testnpm run coverageThe MIT License @ 2018
| Name | Name | Last commit date | ||
|---|---|---|---|---|
🔨 Convert XPath to Selector as Tagged template literal
npm install xpath-to-css-template-string-tagconst { x } = require('xpath-to-css-template-string-tag');
x`//div[@id="foo"]` // 'div#foo'npm testnpm run coverageThe MIT License @ 2018