@rubriclab/events

0.0.23 • Public • Published

@rubriclab/events

To use:

import { createEvents } from '@rubriclab/events'

const { publish, useEvents } = createEvents({
  eventTypes: {
    message: z.object({
      message: z.string()
    })
  }
})

To install dependencies:

bun i

Commits to main will automatically publish a new version to npm.

Readme

Keywords

none

Package Sidebar

Install

npm i @rubriclab/events

Weekly Downloads

2

Version

0.0.23

License

none

Unpacked Size

7.73 kB

Total Files

10

Last publish

Collaborators

  • tedspare
  • rubrot
  • dexterstorey
  • sarimmalik