refactor(redux-devtools-serialize): rename remotedev-serialize (#620)

* refactor(redux-devtools-serialize): rename remotedev-serialize

* Fix that one too
This commit is contained in:
Nathan Bierema 2020-08-27 23:59:02 -04:00 committed by GitHub
parent 5756718554
commit 0663b7ce62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
### Installation
```
yarn add remotedev-serialize
yarn add redux-devtools-serialize
```
### Usage with ImmutableJS data structures
@ -12,7 +12,7 @@ Just pass the Immutable library to our class:
```js
import Immutable from 'immutable';
import Serialize from 'remotedev-serialize';
import Serialize from 'redux-devtools-serialize';
const { stringify, parse } = Serialize.immutable(Immutable);
const data = Immutable.fromJS({ foo: 'bar', baz: { qux: 42 } });
@ -32,7 +32,7 @@ To parse a Record class back, you need to specify a reference to it:
```js
import Immutable from 'immutable';
import Serialize from 'remotedev-serialize';
import Serialize from 'redux-devtools-serialize';
const ABRecord = Immutable.Record({ a: 1, b: 2 });
const { stringify, parse } = Serialize.immutable(Immutable, [ABRecord]);
@ -52,7 +52,7 @@ You can pass custom replacer and reviver functions to Serialize:
```js
import Immutable from 'immutable';
import Serialize from 'remotedev-serialize';
import Serialize from 'redux-devtools-serialize';
function customReplacer(key, value, defaultReplacer) {
if (value === 1) {

View File

@ -1,5 +1,5 @@
{
"name": "remotedev-serialize",
"name": "redux-devtools-serialize",
"version": "0.1.9",
"description": "Serialize unserializable data and parse it back.",
"main": "index.js",