Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Mar 28, 2024
1 parent 7f76b83 commit 4d44399
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ will cover most scenarios, this library focuses on the file system operations.

Example:

```
```ts
import { exists, find } from "@cross/fs/stat";

// Check if my/file exists
Expand Down Expand Up @@ -56,7 +56,7 @@ Methods:

Example:

```
```ts
import { readFile } from "@cross/fs/io";

console.log(await readFile("my/file"));
Expand All @@ -73,8 +73,8 @@ console.log(await readFile("my/file"));

Example:

```
import { mktempdir, dirpath } from "@cross/fs/ops";
```ts
import { dirpath, mktempdir } from "@cross/fs/ops";

console.log(await mktempdir("my-prefix"));
// -> /tmp/my-prefix-luaepc2x-74plp8j8tf7-gzaurxst88g
Expand Down

0 comments on commit 4d44399

Please sign in to comment.