# show-hide

> Minimalist DOM API to fade to show or hide elements

Latest version **0.9.0** (published 2019-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install show-hide
pnpm add show-hide
yarn add show-hide
bun add show-hide
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.0 |
| Published | 2019-11-07 |
| First published | 2019-11-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Anand Chowdhary |
| Maintainers | anandchowdhary |

## Links

- npm: https://www.npmjs.com/package/show-hide
- Repository: https://github.com/AnandChowdhary/show-hide
- Homepage: https://github.com/AnandChowdhary/show-hide#readme
- Issues: https://github.com/AnandChowdhary/show-hide/issues
- npm.io page: https://npm.io/package/show-hide

## Recent versions

- 0.9.0 (latest) — 2019-11-07

## README

# 👁️ Show Hide

Minimalist DOM fade to show/hide element

## ‎‍💻 API

```ts
import { show } from "show-hide";

const element = document.querySelector(".my-modal") as HTMLDivElement;
if (!element) return;

show(element);
```

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