Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximilianschmitt/cssman
cssPath from the Chrome devtools as a node module.
https://github.com/maximilianschmitt/cssman
Last synced: 2 months ago
JSON representation
cssPath from the Chrome devtools as a node module.
- Host: GitHub
- URL: https://github.com/maximilianschmitt/cssman
- Owner: maximilianschmitt
- Created: 2015-08-27T13:49:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-27T21:50:11.000Z (over 9 years ago)
- Last Synced: 2024-10-31T10:44:01.685Z (2 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/cssman
- Size: 104 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# cssman
cssPath from the [Chrome devtools](https://chromium.googlesource.com/chromium/blink/+/master/Source/devtools/front_end/components/DOMPresentationUtils.js) as a node module. Copy-pasted this gist: https://gist.github.com/asfaltboy/8aea7435b888164e8563
```javascript
var csspath = require('cssman');
console.log(csspath(someElement));
``````
html > body > header > h1
```