MCPcopy Create free account

hub / github.com/mdevils/html-entities / functions

Functions27 in github.com/mdevils/html-entities

↓ 5 callersFunctionencode
( text: string | undefined | null, {mode = 'specialChars', numeric = 'decimal', level = 'all'}: Encode
src/index.ts:73
↓ 4 callersFunctiondecode
( text: string | undefined | null, {level = 'all', scope = level === 'xml' ? 'strict' : 'body'}: Decod
src/index.ts:176
↓ 3 callersMethoddecode
(str: string)
benchmark/old/xml-entities.ts:46
↓ 3 callersMethodencode
(str: string)
benchmark/old/xml-entities.ts:33
↓ 2 callersMethodencodeNonASCII
(str: string)
benchmark/old/xml-entities.ts:107
↓ 1 callersFunctionbenchmark
(name: string, tests: {[key: string]: () => void}, setup?: () => void)
benchmark/benchmark.ts:131
↓ 1 callersFunctioncreateEscapeMethods
(textToEncode: string)
benchmark/benchmark.ts:112
↓ 1 callersFunctioncreateHtml4DecodeMethods
(textToDecode: string)
benchmark/benchmark.ts:74
↓ 1 callersFunctioncreateHtml4EncodeMethods
(textToEncode: string)
benchmark/benchmark.ts:62
↓ 1 callersFunctioncreateHtml5DecodeMethods
(textToDecode: string)
benchmark/benchmark.ts:47
↓ 1 callersFunctioncreateHtml5EncodeMethods
(textToEncode: string)
benchmark/benchmark.ts:31
↓ 1 callersFunctioncreateIndexes
(alphaIndex: {[k: string]: string}, charIndex: {[k: string]: {[k: string]: string}})
benchmark/old/html5-entities.ts:144
↓ 1 callersFunctioncreateRequireTests
(modules: Record<string, string>)
benchmark/benchmark.ts:24
↓ 1 callersFunctioncreateXmlDecodeMethods
(textToDecode: string)
benchmark/benchmark.ts:99
↓ 1 callersFunctioncreateXmlEncodeMethods
(textToEncode: string)
benchmark/benchmark.ts:86
↓ 1 callersFunctiondecodeEntity
( entity: string | undefined | null, {level = 'all'}: CommonOptions = defaultDecodeEntityOptions )
src/index.ts:165
↓ 1 callersFunctionsection
(sectionName: string, callback: () => void)
benchmark/benchmark.ts:123
FunctioncleanNodeModulesCache
()
benchmark/benchmark.ts:17
Methoddecode
(str: string)
benchmark/old/html5-entities.ts:12
Methoddecode
(str: string)
benchmark/old/html4-entities.ts:22
Methodencode
(str: string)
benchmark/old/html5-entities.ts:41
Methodencode
(str: string)
benchmark/old/html4-entities.ts:51
MethodencodeNonASCII
(str: string)
benchmark/old/html5-entities.ts:115
MethodencodeNonASCII
(str: string)
benchmark/old/html4-entities.ts:101
MethodencodeNonUTF
(str: string)
benchmark/old/html5-entities.ts:73
MethodencodeNonUTF
(str: string)
benchmark/old/xml-entities.ts:73
MethodencodeNonUTF
(str: string)
benchmark/old/html4-entities.ts:70