Skip to content

Commit

Permalink
feat(decode): Export replaceCodePoint
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed Apr 7, 2022
1 parent 6cb56f3 commit 2247ebe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/decode.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import htmlDecodeTree from "./generated/decode-data-html.js";
import xmlDecodeTree from "./generated/decode-data-xml.js";
import decodeCodePoint from "./decode_codepoint.js";
import {
default as decodeCodePoint,
replaceCodePoint,
} from "./decode_codepoint.js";

// Re-export for use by eg. htmlparser2
export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };
export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint, replaceCodePoint };

const enum CharCodes {
NUM = 35, // "#"
Expand Down

0 comments on commit 2247ebe

Please sign in to comment.