diff --git a/packages/web-features/README.md b/packages/web-features/README.md index 2cc8a25ee54..696e5bba5eb 100644 --- a/packages/web-features/README.md +++ b/packages/web-features/README.md @@ -15,11 +15,8 @@ import { features, groups, snapshots } from "web-features"; Or, without Node.js: ```js -import { - features, - groups, - snapshots, -} from "web-features/data.json" with { type: "json" }; +import data from "web-features/data.json" with { type: "json" }; +const { features, groups, snapshots } = data; ``` ## Rendering Baseline statuses with `web-features`