Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node:sqlite doc import example contradicts itself #1517

Open
elisee opened this issue Mar 2, 2025 · 1 comment
Open

node:sqlite doc import example contradicts itself #1517

elisee opened this issue Mar 2, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@elisee
Copy link

elisee commented Mar 2, 2025

Hello and thanks for the quality work.

On the node:sqlite module doc page: https://docs.deno.com/api/node/sqlite/, it says that to access the module, I should import sqlite from 'node:sqlite'; and then it goes on to explain that the module is only available under the node: scheme and that doing import sqlite from 'node:sqlite'; will not work (which is exactly the same instruction as above). See picture:

Image

Maybe there's some kind of module import rewriter that added "node:" in that invalid example?

I would have submitted a PR but searching around in this repo and a few others, I couldn't find the source text.

@marvinhagemeister
Copy link
Contributor

The documentation is in this repo https://github.com/denoland/docs

@marvinhagemeister marvinhagemeister added the documentation Improvements or additions to documentation label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants