From f24aeab6dc0681c1e211401c57ec20ab173ba7bb Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Fri, 15 Dec 2023 15:32:07 +0100 Subject: [PATCH] docs: improve nest pkg readme --- packages/nest/readme.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/nest/readme.md b/packages/nest/readme.md index 31e2474..e667fc9 100644 --- a/packages/nest/readme.md +++ b/packages/nest/readme.md @@ -35,7 +35,9 @@ Scenario 1:
🚀 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'), @@ -43,7 +45,10 @@ await fs.write( '🪺' ) -const contents = await fs.read(Path.file('private', 'file'), 'utf8') +const contents = await fs.read( + Path.file('private', 'file'), + 'utf8' +) ``` Scenario 2: