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.

92 lines โ€ข 2.12 kB
{ "name": "@nowarajs/typed-event-emitter", "version": "1.1.12", "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", "node", "nowarajs", "event-driven", "event-emitter", "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.33.0", "@stylistic/eslint-plugin": "^5.2.3", "@types/bun": "^1.2.20", "eslint": "^9.33.0", "globals": "^16.3.0", "typescript": "^5.9.2", "typescript-eslint": "^8.39.0" }, "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" }, "examples": { "title": "๐Ÿ€ Examples" }, "test": { "title": "๐Ÿงช Tests" }, "style": { "title": "๐ŸŽจ Styles" }, "ci": { "title": "๐Ÿค– CI" } }, "templates": { "commitMessage": "chore(๐Ÿฆ‰): v{{newVersion}}", "tagMessage": "v{{newVersion}}", "tagBody": "v{{newVersion}}" } } }