Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.