Skip to content

Commit

Permalink
fix: example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
karminski committed Jun 27, 2024
1 parent a583317 commit 33660b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ In an era dominated by LLMs (Large Language Models), the ability to efficiently
Using npm, download and install the code.

```bash
$ npm install --save streamingjson
$ npm install --save streaming-json
```

For node environment:

```js
const streamingjson = require('streamingjson');
const streamingjson = require('streaming-json');
```

For webpack or similar environment:

```js
import streamingjson from 'streamingjson';
import streamingjson from 'streaming-json';
```

For browser environment:

```html
<script src="node_modules/streamingjson/dist/index.aio.js"></script>
<script src="node_modules/streaming-json/dist/index.aio.js"></script>
```

### Example Usage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "streaming-json",
"version": "0.1.0",
"version": "0.1.1",
"description": "A streamlined, user-friendly JSON streaming preprocessor, crafted in JavaScript.",
"sideEffects": false,
"main": "dist/index.js",
Expand Down

0 comments on commit 33660b2

Please sign in to comment.