Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.43 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.43 KB

Build Status codecov.io Known Vulnerabilities minified + gzip styled with prettier

final-state-logger

Logger for final-state. (Just like redux-logger to redux)

Installation

yarn add final-state
yarn add final-state-logger

You should care about the peer dependencies of this package. If something not installed, just install them manually.

final-state-logger is written in Typescript, so you don't need to find a type definition for it.

Basic Example

import { applyLogger } from 'final-state-logger';

applyLogger(store);

API Reference

function finalStateLogger(store: Store): void

Print all state changes of the passed in store instance.

Test

This project uses jest to perform testing.

yarn test

Road Map