# cant-touch-me

> Class that will make any dom element untouchable.

Latest version **1.0.2** (published 2022-07-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install cant-touch-me
pnpm add cant-touch-me
yarn add cant-touch-me
bun add cant-touch-me
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-07-30 |
| First published | 2022-07-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Martijn Bleyen |
| Maintainers | martijnbleyen |
| Keywords | dom, js, utility, evade, untouchable, domelement |

## Links

- npm: https://www.npmjs.com/package/cant-touch-me
- Repository: https://github.com/martijnbleyen/cant-touch-me
- Homepage: https://github.com/martijnbleyen/cant-touch-me#readme
- Issues: https://github.com/martijnbleyen/cant-touch-me/issues
- npm.io page: https://npm.io/package/cant-touch-me

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-07-30
- 1.0.1 — 2022-07-30
- 1.0.0 — 2022-07-30

## README

# Can't touch me
This class wil make (almost) any dom element untouchable with the mouse.

## Usage

```js
import CantTouchMe from "cant-touch-me";
const ctm = new CantTouchMe( document.getElementById("element") );
```

## Limitations
This class uses transform to update the position so this can't be used on elements that already use transform in any way.

## Todo list
- [ ] Add resize support
- [ ] Add customization options
- [ ] Add Typescript support if there are custom options

---
_Source: https://npm.io/package/cant-touch-me · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
