# @iadvize-oss/store-devtools

> Devtools for @iadvize-oss/store

Latest version **1.1.1** (published 2021-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install @iadvize-oss/store-devtools
pnpm add @iadvize-oss/store-devtools
yarn add @iadvize-oss/store-devtools
bun add @iadvize-oss/store-devtools
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2021-05-31 |
| First published | 2020-07-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | iAdvize developers |
| Maintainers | guillaumewuip, brajalu, wandroll, ltaloc, cateland, pagury, md4, mguihal.iadvize, miaxos, iadvize-bot, euphocat, tgenissel |
| Keywords | iAdvize |

## Links

- npm: https://www.npmjs.com/package/@iadvize-oss/store-devtools
- Repository: https://github.com/iadvize/store-library
- Homepage: https://github.com/iadvize/store-library#readme
- Issues: https://github.com/iadvize/store-library/issues
- npm.io page: https://npm.io/package/@iadvize-oss/store-devtools

## Recent versions

- 1.1.1 (latest) — 2021-05-31
- 1.1.1-canary-08d62d2-1680058705601 (dependabot/npm_and_yarn/packages/store-devtools/eslint-8.37.0) — 2023-03-29
- 1.1.1-canary-08d62d2-1680058670079 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.15.11) — 2023-03-29
- 1.1.1-canary-08d62d2-1679885854023 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.15.10) — 2023-03-27
- 1.1.1-canary-08d62d2-1679626654051 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.15.6) — 2023-03-24
- 1.1.1-canary-08d62d2-1679367444910 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.15.5) — 2023-03-21
- 1.1.1-canary-08d62d2-1679281027811 (dependabot/npm_and_yarn/packages/store-devtools/typedoc-0.23.28) — 2023-03-20
- 1.1.1-canary-08d62d2-1679021870987 (dependabot/npm_and_yarn/packages/store-devtools/typedoc-0.23.27) — 2023-03-17
- 1.1.1-canary-08d62d2-1678849034032 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.15.3) — 2023-03-15
- 1.1.1-canary-08d62d2-1678762665198 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.15.2) — 2023-03-14
- 1.1.1-canary-08d62d2-1678676241553 (dependabot/npm_and_yarn/packages/store-devtools/eslint-8.36.0) — 2023-03-13
- 1.1.1-canary-08d62d2-1678417037138 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.15.0) — 2023-03-10
- 1.1.1-canary-08d62d2-1678071435783 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.14.6) — 2023-03-06
- 1.1.1-canary-08d62d2-1677988606251 (dependabot/npm_and_yarn/packages/store-devtools/minimist-1.2.8) — 2023-03-05
- 1.1.1-canary-08d62d2-1677812266713 (dependabot/npm_and_yarn/packages/store-devtools/types/node-18.14.4) — 2023-03-03
- … 1147 more at https://npm.io/package/@iadvize-oss/store-devtools/versions

## README

@iadvize/store-devtools
=======================

Devtools for `@iadvize/store`, a lightweight Javascript store library.

Use `@iadvize/store-devtools` to debug your store with [ReduxDevtools
extension](https://github.com/zalmoxisus/redux-devtools-extension).

[📖 Documentation](https://iadvize.github.io/store-library/packages/store-devtools/)

# Usage

```
npm install @iadvize-oss/store @iadvize-oss/store-devtools
```

`@iadvize-oss/store` is a peer-dependency

# Example

```typescript
import * as Store from '@iadvize/store';
import { withDevtools } from '@iadvize/store-devtools';

const store = withDevtools({
  name: 'my store',
})(Store.create(() => 2)());
```

Instead of classic `Redux` action type, it will try to use the reducer function
name to log the change.

```typescript
store.apply(
  function multiplyByTwo(state: number) {
    return state * 2;
  }
)();
```

Devtools will use `multiplyByTwo` as change type here.

---
_Source: https://npm.io/package/@iadvize-oss/store-devtools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
