You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

13 lines
278 B

const { send } = require('micro')
const { builtin } = require('./icons.js')
module.exports = (req, res) => {
const code = 200
const info = {
icons: Object.keys(builtin)
}
res.setHeader('Content-Type', 'application/json')
send(res, code, JSON.stringify(info))
}