Skip to content

Commit

Permalink
docs: improve nest pkg readme
Browse files Browse the repository at this point in the history
  • Loading branch information
icidasset committed Dec 15, 2023
1 parent 863c501 commit f24aeab
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/nest/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,20 @@ Scenario 1:<br />
🚀 Create a new file system, create a new file and read it back.

```ts
const fs = await FileSystem.create({ blockstore: new MemoryBlockstore() })
const fs = await FileSystem.create({
blockstore: new MemoryBlockstore()
})

await fs.write(
Path.file('private', 'file'),
'utf8',
'🪺'
)

const contents = await fs.read(Path.file('private', 'file'), 'utf8')
const contents = await fs.read(
Path.file('private', 'file'),
'utf8'
)
```

Scenario 2:<br />
Expand Down

0 comments on commit f24aeab

Please sign in to comment.