diff options
-rw-r--r-- | docs/api/file-io.md | 2 | ||||
-rw-r--r-- | docs/runtime/index.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/file-io.md b/docs/api/file-io.md index bb16337e0..18bd5ad3a 100644 --- a/docs/api/file-io.md +++ b/docs/api/file-io.md @@ -1,5 +1,5 @@ {% callout %} -**Note** — The `Bun.file` and `Bun.write` APIs documented on this page are heavily optimized and represent the recommended way to perform file-system tasks using Bun. Existing Node.js projects may use Bun's [nearly complete](/docs/ecosystem/nodejs) implementation of the [`node:fs`](https://nodejs.org/api/fs.html) module. +**Note** — The `Bun.file` and `Bun.write` APIs documented on this page are heavily optimized and represent the recommended way to perform file-system tasks using Bun. Existing Node.js projects may use Bun's [nearly complete](/docs/ecosystem/nodejs#node_fs) implementation of the [`node:fs`](https://nodejs.org/api/fs.html) module. {% /callout %} Bun provides a set of optimized APIs for reading and writing files. diff --git a/docs/runtime/index.md b/docs/runtime/index.md index 6d86c8880..600389223 100644 --- a/docs/runtime/index.md +++ b/docs/runtime/index.md @@ -102,7 +102,7 @@ Support for additional file types can be implemented with [Plugins](/docs/runtim ## Node.js compatibility -Long-term, Bun aims for complete Node.js compatibility. Most Node.js packages already work with Bun out of the box, but certain low-level APIs like `dgram` are still unimplemented. Track the current compatibility status at [Runtime > Node.js API](/docs/ecosystem/nodejs). +Long-term, Bun aims for complete Node.js compatibility. Most Node.js packages already work with Bun out of the box, but certain low-level APIs like `dgram` are still unimplemented. Track the current compatibility status at [Ecosystem > Node.js](/docs/ecosystem/nodejs). Bun implements the Node.js module resolution algorithm, so dependencies can still be managed with `package.json`, `node_modules`, and CommonJS-style imports. |