Skip to content

Add node: prefix to all built-in Node.js imports #255

@sntran

Description

@sntran

Describe the bug
The library uses a couple Node.js built-in modules like fs, events, net, tls, stream and path. It would be great if their imports have node: prefix. The goal is to make it comparable with other runtimes like Cloudflare Workers (pending cloudflare/workerd#2217) and Deno. The changes required are minimal, but can widen the audience of the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions