kh

kola-hooks

Hooks for use in kola framework

Showing:

Popularity

Downloads/wk

3

GitHub Stars

0

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

0

Size (min+gzip)

0.6KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

kola-hooks

Hooks for use in kola framework

Installation

npm install kola-hooks --save

Usage

import hooks = require('kola-hooks');

function sayHello(payload: string, kontext: Kontext): void {
    console.log('Hello!');
}

function sayWorld(payload: string, kontext: Kontext): void {
    console.log('Hello!');
}

kontext.setSignal('signals.hello', hooks([sayHello, sayWorld]));

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100