3.0.0 • Published 1 year ago

@honkjs/silence v3.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year 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

1 year ago

1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago