Registry / workflow / event-framework

event-framework

JSON →
library0.1.0-betajsnpmunverified

A work-in-progress event framework library (v0.1.0-beta, pre-1.0). Currently experimental with no stable release cadence. Differentiators unknown due to early stage. Lacks documentation and examples. Likely not suitable for production use.

npm install event-framework
INSTALL
IMPORT
SIG · EVENT-FRAMEWORK
E
event-framework
workflowjavascriptv0.1.0-beta
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EventFramework
✓ import { EventFramework } from 'event-framework'
✗ const EventFramework = require('event-framework')
The package is ESM-only; CommonJS require may fail.
EventEmitter
✓ import { EventEmitter } from 'event-framework'
✗ import EventEmitter from 'event-framework'
EventEmitter is a named export, not default.
Event
✓ import { Event } from 'event-framework'
✗ import { EventManager } from 'event-framework'
Correct symbol is Event, not EventManager.

Creates an EventFramework instance, registers a listener, and starts the framework.

import { EventFramework } from 'event-framework'; const app = new EventFramework(); app.on('ready', () => console.log('ready')); app.start();
Debug
Known issues
gotchaThe package is in pre-release beta (v0.1.0-beta). APIs are unstable and may change without notice.
fix
Pin to exact version and test thoroughly before upgrading.
affects: >=0.0.0
breakingAll exports are ESM-only. No CommonJS or UMD build is provided.
fix
Use a bundler that supports ESM or set type: module in package.json.
affects: >=0.1.0-beta
deprecatedThe default export may be deprecated in future versions in favor of named exports.
fix
Always use named imports, e.g., import { EventFramework }.
affects: >=0.1.0-beta
gotchaThe library is marked as WIP and contains no examples or tests. API behavior is undocumented.
fix
Review source code directly or wait for stable release.
affects: >=0.1.0-beta
Errors
Common errors & fixes
SyntaxError: Cannot use import statement outside a module
Attempting to require() ESM-only package in a CommonJS script.
fix
Use import syntax or set type: module in package.json and rename file to .mjs.
TypeError: event_framework_1.EventFramework is not a constructor
Incorrectly using default import (import EventFramework from 'event-framework') instead of named import.
fix
Use import { EventFramework } from 'event-framework'.
Module not found: Can't resolve 'event-framework'
Package not installed or missing from package.json dependencies.
fix
Run npm install event-framework@0.1.0-beta.
Upgrade
Version history
0.1.0-betalatest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
event-framework — npm install event-framework · libregistry