this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 9 lines 310 B view raw
1import fs from 'fs'; 2 3fetch('https://translang.phanpy.social/api/v1/languages') 4 .then((response) => response.json()) 5 .then((json) => { 6 const file = './src/data/translang-languages.json'; 7 console.log(`Writing ${file}...`); 8 fs.writeFileSync(file, JSON.stringify(json, null, '\t'), 'utf8'); 9 });