3.0.0 • Published 2 years ago

@honkjs/silence v3.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

honkjs/silence

Greenkeeper badge

Because you hate honking.

Getting Started

npm install @honkjs/silence
import Honk from '@honkjs/honk';
import silence from '@honkjs/silence';

const honk = new Honk().use(silence()).honk;

honk(); // output: Nothing

Concepts

This repo can be used as quick example of how to build a 'catch all' middleware. Chances are in a production app you don't want missed dispatches to randomly output "HONK 🚚 HONK" to the console, so you should create a new 'default' middleware that's first in the pipeline to catch these with whatever default behavior you want.

3.0.0

2 years ago

1.0.5

6 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago