Skip to content

Commit

Permalink
repo renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
taburetkin committed May 28, 2019
1 parent 2bb1ec5 commit 4cbe7d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# json-web-storage
# jsonws: Json Web Storage
Allow to store json or strongly typed data in a string key/value storage.
In general was designed for using with `localStorage` and `sessionStorage` but may be used with any kind of store, f.e. `redis` or any backend inmemory store.

![version](https://img.shields.io/github/package-json/v/taburetkin/json-web-storage.svg)
[![Coverage Status](https://coveralls.io/repos/github/taburetkin/json-web-storage/badge.svg?branch=master)](https://coveralls.io/github/taburetkin/json-web-storage?branch=master)
![Build status](https://secure.travis-ci.org/taburetkin/json-web-storage.svg?branch=master)
![version](https://img.shields.io/github/package-json/v/taburetkin/jsonws.svg)
[![Coverage Status](https://coveralls.io/repos/github/taburetkin/jsonws/badge.svg?branch=master)](https://coveralls.io/github/taburetkin/jsonws?branch=master)
![Build status](https://secure.travis-ci.org/taburetkin/jsonws.svg?branch=master)

## how to install
```
npm i json-web-storage
npm i jsonws
```

or

```
yarn add json-web-storage
yarn add jsonws
```
## how to use
### common case
```js
import { JsonStorage } from 'json-web-storage';
import { JsonStorage } from 'jsonws';

const store = new JsonStorage({
store: localStorage, // going to store in localStorage
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "json-web-storage",
"name": "jsonws",
"version": "1.0.0",
"description": "allows to store json data in a string key/value store",
"main": "index.js",
"repository": "https://github.com/taburetkin/json-web-storage.git",
"repository": "https://github.com/taburetkin/jsonws.git",
"author": "dimtabu <dima.taburetkin@gmail.com>",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit 4cbe7d7

Please sign in to comment.