UNPKG

web-features

Version:
6 lines (5 loc) 314 B
import { readFileSync } from "node:fs"; import { fileURLToPath } from "node:url"; const jsonPath = fileURLToPath(new URL("./data.json", import.meta.url)); const { browsers, features, groups, snapshots } = JSON.parse(readFileSync(jsonPath, { encoding: "utf-8" })); export { browsers, features, groups, snapshots };