Skip to content

Commit

Permalink
Update README to use default export and destructure on default export.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Jun 19, 2024
1 parent 5367858 commit 422d823
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ jspm install npm:jsonld
```

``` js
import * as jsonld from 'jsonld';
import jsonld from 'jsonld';
// or
import {promises} from 'jsonld';
const {promises} = jsonld;
// or
import {JsonLdProcessor} from 'jsonld';
const {JsonLdProcessor} = jsonld;
```

### Node.js native canonize bindings
Expand Down

0 comments on commit 422d823

Please sign in to comment.