Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antonybudianto/element-inspector
Simple DOM element inspector
https://github.com/antonybudianto/element-inspector
dom inspector picker selector
Last synced: 19 days ago
JSON representation
Simple DOM element inspector
- Host: GitHub
- URL: https://github.com/antonybudianto/element-inspector
- Owner: antonybudianto
- License: other
- Created: 2018-06-01T11:14:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T11:21:31.000Z (over 6 years ago)
- Last Synced: 2024-11-16T10:28:26.194Z (3 months ago)
- Topics: dom, inspector, picker, selector
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# element-inspector
## How to use
```sh
npm i element-inspector
``````
import { startPick } from 'element-inspector'startPick({
onClick: (el) => console.log(el)
});
```## Development
Link your library for local use
```
npm link# change dir to your app that will use this lib, and run:
npm link
```## Test
```
npm test
```## Build
```
npm run build
```## Publish
```
npm publish
```## License
MIT
## Credits
Thanks for @jamesbechet for his work in https://github.com/jamesbechet/element-picker.
I modified it to suite my needs and some enhancements.
His work is attributed in `LICENSE` file.