diff --git a/src/name-table.js b/src/name-table.js deleted file mode 100644 index bdd4edd..0000000 --- a/src/name-table.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict' -const baseTable = require('./base-table.json') - -// map for hexString -> codecName -const nameTable = {} - -for (const encodingName in baseTable) { - const code = baseTable[encodingName] - nameTable[code.toString(16)] = encodingName -} - -module.exports = Object.freeze(nameTable)