Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Mar 21, 2022
1 parent 4224d57 commit d540db9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ circular references.
## Example

```js
import { getParser, getSerializer } from "./index.js";
import { getParser, getSerializer } from "yabson";

const object = {
array: [
Expand Down Expand Up @@ -48,3 +48,9 @@ for (const chunk of serializer) {
// displays a deep clone of `object`
console.log(result.value);
```

## Install

```sh
npm install https://www.npmjs.com/package/yabson
```

0 comments on commit d540db9

Please sign in to comment.