Skip to content

Commit 2c67d4b

Browse files
committed
Update docs to new named export
1 parent 80eabdc commit 2c67d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ This package also works out-of-the-box in browsers via tools such as [webpack](h
5757
## Require
5858

5959
```typescript
60-
import rdfParser from "rdf-parse";
60+
import { rdfParser } from "rdf-parse";
6161
```
6262

6363
_or_
6464

6565
```javascript
66-
const rdfParser = require("rdf-parse").default;
66+
const { rdfParser } = require("rdf-parse");
6767
```
6868

6969
## Usage

0 commit comments

Comments
 (0)