# has-hover

> Check if hover is available on the current device

Latest version **1.0.1** (published 2017-07-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install has-hover
pnpm add has-hover
yarn add has-hover
bun add has-hover
```

## 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.1 |
| Published | 2017-07-18 |
| First published | 2017-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Dima Yv |
| Maintainers | dfcreative |
| Keywords | path, url |

## Links

- npm: https://www.npmjs.com/package/has-hover
- Repository: https://github.com/dfcreative/has-hover
- Homepage: https://github.com/dfcreative/has-hover#readme
- Issues: https://github.com/dfcreative/has-hover/issues
- npm.io page: https://npm.io/package/has-hover

## Dependencies (1)

- [is-browser](https://npm.io/package/is-browser.md) ^2.0.1

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-07-18
- 1.0.0 — 2017-06-16

## README

# has-hover  [![unstable](https://img.shields.io/badge/stability-unstable-green.svg)](http://github.com/badges/stability-badges) [![Build Status](https://img.shields.io/travis/dfcreative/has-hover.svg)](https://travis-ci.org/dfcreative/has-hover)

Check if hover is available on the current device.

[![npm install has-hover](https://nodei.co/npm/has-hover.png?mini=true)](https://npmjs.org/package/has-hover/)

```js
const isHover = require('has-hover')

if (!isHover) {
	//do touch-only routine
}
```

If you find edge case, please address [issues](https://github.com/dfcreative/has-hover/issues).

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