xpath-to-css-template-string-tag

1.0.3 • Public • Published

xpath-to-css-template-string-tag

node version npm version downloads count license

🔨 Convert XPath to Selector as Tagged template literal

Installation

npm install xpath-to-css-template-string-tag

Usage

const { x } = require('xpath-to-css-template-string-tag');
x`//div[@id="foo"]` // 'div#foo'

Unit tests

npm test

Code coverage

npm run coverage

License

The MIT License @ 2018

Package Sidebar

Install

npm i xpath-to-css-template-string-tag

Weekly Downloads

66

Version

1.0.3

License

MIT

Unpacked Size

2.76 kB

Total Files

3

Last publish

Collaborators

  • piecioshka