From 40026f1acc81d8d78a8c66225bc22a5edbef68a2 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 12 May 2024 19:40:24 +0700 Subject: [PATCH] Test --- package.json | 1 + source/index.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/package.json b/package.json index c07dc74d0..c27dfcbad 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "cacheable-lookup": "^7.0.0", "cacheable-request": "^10.2.14", "decompress-response": "^6.0.0", + "electron-store": "^9.0.0", "form-data-encoder": "^4.0.2", "get-stream": "^8.0.1", "http2-wrapper": "^2.2.1", diff --git a/source/index.ts b/source/index.ts index 0edb81512..d55cd56ba 100644 --- a/source/index.ts +++ b/source/index.ts @@ -1,7 +1,13 @@ +import Store from 'electron-store'; import create from './create.js'; import type {InstanceDefaults} from './types.js'; import Options from './core/options.js'; +const store = new Store(); + +store.set('unicorn', '🦄'); +console.log(store.get('unicorn')); + const defaults: InstanceDefaults = { options: new Options(), handlers: [],