Skip to content

Commit

Permalink
feat: Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joshnuss committed Oct 4, 2023
1 parent 90adde4 commit 74586fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ A Svelte store that persists to local storage. Supports changes across multiple
## Installation

```bash
npm install svelte-local-storage-store
npm install svelte-persisted-store
```

## Usage

Define the store:

```javascript
import { persisted } from 'svelte-local-storage-store'
import { persisted } from 'svelte-persisted-store'

// First param `preferences` is the local storage key.
// Second param is the initial value.
Expand Down

0 comments on commit 74586fd

Please sign in to comment.