mirror of https://github.com/web3privacy/web
11 lines
289 B
JavaScript
11 lines
289 B
JavaScript
|
|
|
|
const resp = await fetch("https://explorer-data.web3privacy.info/");
|
|
const data = await resp.json();
|
|
|
|
const explorer = {
|
|
projects: data.projects.length
|
|
}
|
|
|
|
await Deno.writeTextFile("./src/explorer.json", JSON.stringify(explorer, null, 2))
|
|
console.log(`File ./src/explorer.json saved`) |