UNPKG

micromark

Version:

small commonmark compliant markdown parser with positional info and concrete tokens

11 lines (8 loc) 203 B
export default regexCheck import fromCharCode from '../constant/from-char-code.mjs' function regexCheck(regex) { return check function check(code) { return regex.test(fromCharCode(code)) } }