Skip to content

Package docs show event emitter events #1944

@shi-gg

Description

@shi-gg

Describe the feature

class: https://npmx.dev/package-docs/linkdave/v/0.1.2#class-LinkDaveClient
interface: https://npmx.dev/package-docs/linkdave/v/0.1.2#interface-LinkDaveClient

source: https://github.com/shi-gg/linkdave/blob/main/client/src/client.ts#L31
type def: https://github.com/shi-gg/linkdave/blob/main/client/src/types.ts#L203

npmx should display all event listeners sorta like this:

on(ManagerEventName.NodeAdd): { node: Node; };
on(ManagerEventName.NodeRemove): { node: Node; };
on(ManagerEventName.NodeReconnectAttempt): { node: Node; attempt: number; };
...

Additional information

  • Would you be willing to help implement this feature?

Final checks

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontFrontend, Design

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions