From 4e5c24ed1bc8ebd1b60ddd8e99283e55e4541745 Mon Sep 17 00:00:00 2001 From: Lachlan McDonald Date: Tue, 7 May 2024 09:45:34 +0100 Subject: [PATCH] RF readme.md\ --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fb99ea..4235eef 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ __mock-storage__ intends to be side-effect compatible with browser environments, There are two distinct ways to utilise this module: ```ts -const { createStorage } = require('@lmcd/mock-storage'); +import { createStorage } from "@lmcd/mock-storage"; const storage = createStorage(); ``` ```ts -const { Storage } = require('@lmcd/mock-storage'); +import { Storage } from "@lmcd/mock-storage"; const storage = new Storage(); ```