web/utils/core.js

4 lines
214 B
JavaScript
Raw Normal View History

2024-01-25 21:51:47 +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`)