This repository was archived by the owner on Sep 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Document node: scheme #555
Comments
@Jamesernator that isn't stable and actually has been a discussion on if it should be |
nodejs/node#35387 has landed so the features have unified on |
2 tasks
made a PR to docs |
this has landed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since at least Node 14 one can import builtin modules using the
nodejs:
scheme. e.g.import fs from "nodejs:fs";
orimport("nodejs:fs")
. However this capability doesn't seem to be documented anywhere (particularly not on the esm docs).It would be good to either document this, if it is officially supported, or to warn when
nodejs:
scheme is used (if it's only for internal use).The text was updated successfully, but these errors were encountered: