UNPKG

@nowarajs/typed-event-emitter

Version:

Typed Event Emitter is a TypeScript library that provides a strongly typed event emitter, allowing developers to define custom events with specific payloads, ensuring type safety and reducing runtime errors in event-driven applications.

102 lines (101 loc) โ€ข 2.35 kB
{ "name": "@nowarajs/typed-event-emitter", "version": "1.1.25", "author": "NowaraJS", "description": "Typed Event Emitter is a TypeScript library that provides a strongly typed event emitter, allowing developers to define custom events with specific payloads, ensuring type safety and reducing runtime errors in event-driven applications.", "type": "module", "license": "MIT", "keywords": [ "bun", "nowarajs", "typed-event-emitter", "event-emitter", "event-driven", "type-safe", "typed-events" ], "scripts": { "build": "bun builder.ts", "dev": "bun --watch sandbox/index.ts", "docs": "bunx typedoc --tsconfig tsconfig.build.json", "fix-lint": "eslint --fix ./source", "lint": "eslint ./source", "test:integration": "bun test $(find test/integration -name '*.spec.ts')", "test:unit": "bun test --coverage $(find test/unit -name '*.spec.ts')", "test": "bun test --coverage" }, "devDependencies": { "@eslint/js": "^9.39.1", "@stylistic/eslint-plugin": "^5.5.0", "@types/bun": "^1.3.2", "eslint": "^9.39.1", "globals": "^16.5.0", "typescript": "^5.9.3", "typescript-eslint": "^8.46.4" }, "exports": { "./types": "./dist/types/index.js", ".": "./dist/index.js" }, "changelog": { "types": { "feat": { "title": "๐Ÿš€ Enhancements", "semver": "minor" }, "perf": { "title": "โšก Performance", "semver": "patch" }, "fix": { "title": "๐Ÿ”ง Fixes", "semver": "patch" }, "refactor": { "title": "๐Ÿงน Refactors", "semver": "patch" }, "docs": { "title": "๐Ÿ“– Documentation", "semver": "patch" }, "build": { "title": "๐Ÿ“ฆ Build", "semver": "patch" }, "types": { "title": "๐ŸŒŠ Types", "semver": "patch" }, "chore": { "title": "๐Ÿฆ‰ Chore", "semver": "patch" }, "examples": { "title": "๐Ÿ€ Examples", "semver": "patch" }, "test": { "title": "๐Ÿงช Tests", "semver": "patch" }, "style": { "title": "๐ŸŽจ Styles", "semver": "patch" }, "ci": { "title": "๐Ÿค– CI", "semver": "patch" } }, "templates": { "commitMessage": "chore(๐Ÿฆ‰): v{{newVersion}}", "tagMessage": "v{{newVersion}}", "tagBody": "v{{newVersion}}" } }, "repository": { "type": "git", "url": "https://github.com/NowaraJS/typed-event-emitter.git" } }