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

This commit is contained in:
Nathan Bierema 2020-08-27 23:22:34 -04:00
parent 5756718554
commit 02a968ac1f
12 changed files with 4 additions and 4 deletions

View File

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

View File

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