generated at
UserScript:Fetch API
APIを叩いてなんとかする

script.js
const projects = new Promise((resolve, reject) => { fetch('https://scrapbox.io/api/projects') .then(response => response.json()) .then(json => json.projects) .then(resolve) .catch(reject) })


UserScript