@just-web/events
TypeScript icon, indicating that this package has built-in type declarations

7.1.8 • Public • Published

@just-web/events

NPM version NPM downloads

@just-web/events provides event based pub/sub system to @just-web applications.

Install

# npm
npm install @just-web/events

# yarn
yarn add @just-web/events

# pnpm
pnpm install @just-web/events

#rush
rush add -p @just-web/events

Usage

import { justApp } from '@just-web/app'
import { eventsGizmoFn } from '@just-web/events'

const app = await justApp({ name: 'your-awesom-app' })
  .with(eventsGizmoFn())
  .create()

app.events.emitter.emit(...)

Readme

Keywords

Package Sidebar

Install

npm i @just-web/events

Weekly Downloads

0

Version

7.1.8

License

MIT

Unpacked Size

15.1 kB

Total Files

32

Last publish

Collaborators

  • unional