From 8e6d91c078c9175708bcf13c071d6ffae963a635 Mon Sep 17 00:00:00 2001 From: Amith Mohanan Date: Tue, 2 Nov 2021 22:54:20 +0530 Subject: [PATCH] fix: Remove duplicate named export `txt` (#71) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7d950b0..aae0a80 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ const NOT_FLUSH_MASK = ~FLUSH_MASK const QU_MASK = 1 << 15 const NOT_QU_MASK = ~QU_MASK -const name = exports.txt = exports.name = {} +const name = exports.name = {} name.encode = function (str, buf, offset) { if (!buf) buf = Buffer.alloc(name.encodingLength(str))