web/utils/core.js
2024-01-31 01:57:12 +01:00

4 lines
219 B
JavaScript

const response = await fetch("https://data.web3privacy.info/");
const data = await response.json();
await Deno.writeTextFile("./src/core.json", JSON.stringify(data, null, 2));
console.log(`File ./src/core.json saved`);