Skip to content

Commit

Permalink
0.1.9: Fix the examples in the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaBao committed Feb 26, 2021
1 parent 31d800b commit 9fceb93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ npm install @alphabao/tiny-storage
```javascript
import { TinyStorage } from '@alphabao/tiny-storage';

const store = new Storage('store');
const cart = new Storage('cart');
const store = new TinyStorage('store');
const cart = new TinyStorage('cart');

store.set('book-001', 'Robinson Crusoe');
store.set('book-002', "Grimm's Fairy Tales");
Expand Down Expand Up @@ -87,7 +87,7 @@ store.get('lemon'); // null
```javascript
import { TinyStorage } from '@alphabao/tiny-storage';

const myStore = new Storage('store');
const myStore = new TinyStorage('store');

myStore.set('apple', 3);
myStore.set('lemon', 4);
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alphabao/tiny-storage",
"version": "0.1.8",
"version": "0.1.9",
"description": "A tiny localStorage util",
"repository": {
"type": "git",
Expand Down

0 comments on commit 9fceb93

Please sign in to comment.