Top
Best
New

Posted by voctor 8 hours ago

Node.js needs a virtual file system(blog.platformatic.dev)
168 points | 150 commentspage 3
verdverm 4 hours ago||
Separate the valid critiques on other comments, Go's io.FS interface is really nice for making these sorts of things. Is there something like this in Node already? (with base implementations like host and in memory)
themafia 4 hours ago||
> You can’t import or require() a module that only exists in memory.

Sure you can. Function() exists and require.cache exists. This is _intentionally_ exploitable.

bronlund 5 hours ago||
Yeah. That’s what we need. More Node.
devnotes77 3 hours ago|
[flagged]
westurner 7 hours ago||
Is node::vfs the new solution for JupyterLite filesystems?

From https://github.com/jupyterlite/jupyterlite/issues/949#issuec... :

> Ideally, the virtual filesystem of JupyterLite would be shared with the one from the virtual terminal.

emscripten-core/emscripten > "New File System Implementation": https://github.com/emscripten-core/emscripten/issues/15041#i... :

> [ BrowserFS, isomorphic-git/lightningfs, ]

pyodide/pyodide: "Native file system API" #738: https://github.com/pyodide/pyodide/issues/738 re: [Chrome,] Filesystem API :

> jupyterlab-git [should work with the same VFS as Jupyter kernels and Terminals]

pyodide/pyodide: "ENH Add API for mounting native file system" #2987: https://github.com/pyodide/pyodide/pull/2987

moralestapia 7 hours ago||
>Let me be honest: a PR that size would normally take months of full-time work. This one happened because I built it with Claude Code.

The node.js codebase and standard library has a very high standard of quality, hope that doesn't get washed out by sloppy AI-generated code.

OTOH, Matteo is an excellent engineer and the community owes a lot to him. So I guess the code is solid :).

leontloveless 6 hours ago||
[dead]
aplomb1026 5 hours ago||
[dead]
openinstaclaw 6 hours ago||
[dead]
rigorclaw 6 hours ago|
[flagged]
More comments...