0.1.2 โ€ข Published 4 months ago

@daisugi/nekobasu v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@daisugi/nekobasu

version npm downloads bundlephobia

This project is part of the @daisugi monorepo.

Nekobasu is a lightweight, easy to use, asynchronous and efficient EventBus implementation.

๐ŸŒŸ Features

  • ๐Ÿ’ก Minimum size overhead.
  • โšก๏ธ Written in TypeScript.
  • ๐Ÿ“ฆ Only uses trusted dependencies.
  • ๐Ÿ”จ Powerful and agnostic to your code.
  • ๐Ÿงช Well tested.
  • ๐Ÿค Is used in production.
  • โšก๏ธ Exports ES Modules as well as CommonJS.

Usage

import { Nekobasu } from '@daisugi/nekobasu';

const nekobasu = new Nekobasu();
nekobasu.subscribe('foo.*', (event) => {
  console.log(event);
});
nekobasu.dispatch('foo.bar');

Table of contents

Install

Using npm:

npm install @daisugi/nekobasu

Using yarn:

yarn add @daisugi/nekobasu

:top: back to top

Other projects

Meet the ecosystem

:top: back to top

License

MIT

0.1.2

4 months ago

0.1.0

5 months ago

0.0.3

12 months ago

0.0.4

11 months ago

0.0.2

1 year ago