Update file-io.md (#2229)

duplicated word
This commit is contained in:
maor-benami
2023-02-28 07:07:35 +02:00
committed by GitHub
parent 56488d54d0
commit 0a340d1920

View File

@@ -8,7 +8,7 @@ Bun provides a set of optimized APIs for reading and writing files.
`Bun.file(path): BunFile`
Create a `BunFile` instance with the `Bun.file(path)` function. A `BunFile` represents represents a lazily-loaded file; initializing it does not actually read the file from disk.
Create a `BunFile` instance with the `Bun.file(path)` function. A `BunFile` represents a lazily-loaded file; initializing it does not actually read the file from disk.
```ts
const foo = Bun.file("foo.txt"); // relative to cwd