web/utils/core.js

5 lines
219 B
JavaScript
Raw Permalink Normal View History

2024-01-31 01:57:12 +01:00
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`);