Skip to content

Commit 4d3cf9f

Browse files
committed
feat: update readme
1 parent b9d7d70 commit 4d3cf9f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ yarn add @BolajiOlajide/now-playing
2020
## Usage
2121

2222
```ts
23-
import {
24-
NowPlaying,
25-
Providers,
26-
} from "@BolajiOlajide/now-playing";
23+
import { NowPlaying, Providers } from "@BolajiOlajide/now-playing";
2724

2825
const np = new NowPlaying(Providers.SPOTIFY, {
2926
useCache: false, // default is true
@@ -36,9 +33,9 @@ const np = new NowPlaying(Providers.SPOTIFY, {
3633
});
3734
```
3835

39-
### Storage Kinds
36+
### Storage
4037

41-
- **INMEMORY**: Stores data in memory. This is the default option and suitable to reduce overhead.
38+
Data is stored in memory. This is to reduce overhead. We plan to expose the `IStorer` interface later to allow you to use your own storage mechanism.
4239

4340
### Providers
4441

@@ -48,7 +45,7 @@ You need two things.
4845

4946
1. Spotify Client ID
5047
2. Spotify Client Secret
51-
2. Spotify Refresh Token
48+
3. Spotify Refresh Token
5249

5350
To get your Spotify Client ID and sercet, follow these steps:
5451

0 commit comments

Comments
 (0)