From f3766e54c2f91616034a5be4d7c4739bca876ab2 Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Fri, 20 Dec 2019 23:10:00 +0000 Subject: [PATCH] fix: remove unused table file --- src/name-table.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/name-table.js 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)