File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff 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
2825const 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
49461 . Spotify Client ID
50472 . Spotify Client Secret
51- 2 . Spotify Refresh Token
48+ 3 . Spotify Refresh Token
5249
5350To get your Spotify Client ID and sercet, follow these steps:
5451
You can’t perform that action at this time.
0 commit comments