Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return Promise.all(enums.map(function (json) {
if (json === 'protocol') return
return docson.doc(json, require('minecraft-data').schemas[json])
}))
}