Skip to main content

@pup/common@1.0.3
Built and signed on GitHub Actions

This package works with Bun, Node.js, Deno
JSR Score
76%
Published
2 months ago (1.0.3)
type alias EventHandler

Simple EventEmitter implementation for Pup

Type Parameters

Definition

(eventData?: t) => void

Add Package

deno add @pup/common

Import symbol

import { type EventHandler } from "@pup/common/eventemitter";

Add Package

npx jsr add @pup/common

Import symbol

import { type EventHandler } from "@pup/common/eventemitter";

Add Package

yarn dlx jsr add @pup/common

Import symbol

import { type EventHandler } from "@pup/common/eventemitter";

Add Package

pnpm dlx jsr add @pup/common

Import symbol

import { type EventHandler } from "@pup/common/eventemitter";

Add Package

bunx jsr add @pup/common

Import symbol

import { type EventHandler } from "@pup/common/eventemitter";