Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

entities-reducer

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entities-reducer - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json

@@ -11,3 +11,3 @@ {

},
"version": "1.0.1",
"version": "1.0.2",
"description": "Redux normalized entity reducer",

@@ -14,0 +14,0 @@ "main": "dist/index.js",

# Entities reducer
Redux high order reducer for normalized `flux-standard-action`s
[![Build Status][build-badge]][build]

@@ -10,16 +12,31 @@ [![Code Coverage][coverage-badge]][coverage]

[![Star on GitHub][github-star-badge]][github-star]
[![Tweet][twitter-badge]][twitter]
-- TODO: Write some docs
Allows for updates to entities in state. Accepts custom reducers to further control.
For now read the tests :)
## Usage
```javascript
import { combineReducers } from 'redux';
import entitiesReducer from 'entities-reducer';
const rootReducer = combineReducers({
entities: entitiesReducer({
/* custom reducers here */
}),
});
export default rootReducer;
```
[build]: https://travis-ci.org/kwelch/entities-reducer
[build-badge]: https://img.shields.io/travis/kwelch/entities-reducer.svg?style=flat-square
[coverage-badge]: https://img.shields.io/codecov/c/github/kwelch/entities-reducer.svg?style=flat-square
[coverage]: https://codecov.io/github/kwelch/entities-reducer
[github-watch-badge]: https://img.shields.io/github/watchers/kwelch/entities-reducer.svg?style=social
[github-watch]: https://github.com/kwelch/entities-reducer/watchers
[github-star-badge]: https://img.shields.io/github/stars/kwelch/entities-reducer.svg?style=social
[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/kwelch/entities-reducer.svg?style=social
[github-star]: https://github.com/kwelch/entities-reducer/stargazers
[version-badge]: https://img.shields.io/npm/v/entities-reducer.svg?style=flat-square
[package]: https://www.npmjs.com/package/entities-reducer
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc