Skip to content

Commit c782f24

Browse files
authored
Update README.md
Updates import statement example to match ESM requirement
1 parent d12bf7e commit c782f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This example fetches the RDF Schema vocab and loops over all quad using the data
5050
For all `rdfs:label` quads the object value is written to the console.
5151

5252
```javascript
53-
const fetch = require('@rdfjs/fetch')
53+
import fetch from '@rdfjs/fetch'
5454

5555
const label = 'http://www.w3.org/2000/01/rdf-schema#label'
5656

0 commit comments

Comments
 (0)