Skip to content

Expose and hook into REPL eval #20531

Closed
Closed
@blakeembrey

Description

@blakeembrey

While building the REPL for https://github.com/TypeStrong/ts-node, I'd love to be able to push people toward using node -r ts-node/register for any advanced node.js usage and the one remaining feature to support the REPL. Would it make sense to expose the "default" REPL eval for override and createInternalRepl in some way so projects like the babel CLI and ts-node can hook into and replace the default eval and/or replicate createInternalRepl?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions