UNPKG

dir-to-object

Version:

Builds an object from the files contained inside a directory.

7 lines (5 loc) 133 B
const currencies = { resolve: data => data.currencies, type: [{ id: 'string', name: 'string' }] }; module.exports = currencies;