From 909c23fda8a305ff59d2140e8040cc8bd6eb2ad4 Mon Sep 17 00:00:00 2001 From: BigBlueHat Date: Fri, 21 Nov 2025 16:21:41 -0500 Subject: [PATCH] Update README with ES6 import example. Add ES6 import syntax for `jsonld` in README. The other import styles will not work with Node.js, so this marks out the happy path for Node devs. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9848deca..483e6e45 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,10 @@ npm install jsonld const jsonld = require('jsonld'); ``` +```js +import jsonld from 'jsonld'; +``` + ### Browser (bundler) + npm ```