# state-toggle

> Enter/exit a state

Latest version **2.0.2** (published 2022-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install state-toggle
pnpm add state-toggle
yarn add state-toggle
bun add state-toggle
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2022-11-14 |
| First published | 2016-07-16 |
| 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 | 8 |
| Author | Titus Wormer |
| Maintainers | wooorm |
| Keywords | enter, exit, state |

## Links

- npm: https://www.npmjs.com/package/state-toggle
- Repository: https://github.com/wooorm/state-toggle
- Homepage: https://github.com/wooorm/state-toggle#readme
- Issues: https://github.com/wooorm/state-toggle/issues
- Funding: https://github.com/sponsors/wooorm
- npm.io page: https://npm.io/package/state-toggle

## Alternatives

- [@reckona/mreact-store](https://npm.io/package/@reckona/mreact-store.md) — 976 weekly downloads
- [regular-state](https://npm.io/package/regular-state.md) — 410 weekly downloads
- [@pacote/flux-actions](https://npm.io/package/@pacote/flux-actions.md) — 65 weekly downloads
- [@pilotlab/lux-debug](https://npm.io/package/@pilotlab/lux-debug.md) — 39 weekly downloads
- [vue-persist-state](https://npm.io/package/vue-persist-state.md) — 19 weekly downloads

## Recent versions

- 2.0.2 (latest) — 2022-11-14
- 2.0.1 — 2021-03-08
- 2.0.0 — 2021-03-07
- 1.0.3 — 2020-01-26
- 1.0.2 — 2019-05-10
- 1.0.1 — 2018-04-21
- 1.0.0 — 2016-07-16

## README

# state-toggle

**Stability: Legacy**.
This package is no longer recommended for use.
It’s still covered by semantic-versioning guarantees and not yet deprecated, but
use of this package should be avoided.
Please write some better code for yourself!

Legacy [documentation for this package][docs] is still available in Git.

## License

[MIT][license] © [Titus Wormer][author]

<!-- Definitions -->

[license]: license

[author]: https://wooorm.com

[docs]: https://github.com/wooorm/state-toggle/tree/063d450

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