# redux-falsy

> Drop falsy values that have been dispatched into redux

Latest version **1.0.0** (published 2016-02-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install redux-falsy
pnpm add redux-falsy
yarn add redux-falsy
bun add redux-falsy
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-02-24 |
| First published | 2016-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | ashaffer88 |

## Links

- npm: https://www.npmjs.com/package/redux-falsy
- Repository: https://github.com/ashaffer/redux-falsy
- Homepage: https://github.com/ashaffer/redux-falsy#readme
- Issues: https://github.com/ashaffer/redux-falsy/issues
- npm.io page: https://npm.io/package/redux-falsy

## Recent versions

- 1.0.0 (latest) — 2016-02-24

## README

# redux-falsy

[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)

Drop falsy values that have been dispatched into redux. This may be a candidate for the simplest redux middleware possible.

## Installation

    $ npm install redux-falsy

## Usage

All it does is drop falsy actions from continuing into your middleware stack. This is useful in environments where you are using the return values of things as your actions, as in [vdux](https://github.com/vdux/vdux). The source code of this module is all the documentation you should need:

```javascript
function falsy () {
  return next => action => action && next(action)
}
```

Put it at the top of your middleware stack to avoid them getting into any of your middlewares.

## License

MIT

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