Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mdevils/html-entities
/ functions
Functions
27 in github.com/mdevils/html-entities
⨍
Functions
27
◇
Types & classes
10
↓ 5 callers
Function
encode
( text: string | undefined | null, {mode = 'specialChars', numeric = 'decimal', level = 'all'}: Encode
src/index.ts:73
↓ 4 callers
Function
decode
( text: string | undefined | null, {level = 'all', scope = level === 'xml' ? 'strict' : 'body'}: Decod
src/index.ts:176
↓ 3 callers
Method
decode
(str: string)
benchmark/old/xml-entities.ts:46
↓ 3 callers
Method
encode
(str: string)
benchmark/old/xml-entities.ts:33
↓ 2 callers
Method
encodeNonASCII
(str: string)
benchmark/old/xml-entities.ts:107
↓ 1 callers
Function
benchmark
(name: string, tests: {[key: string]: () => void}, setup?: () => void)
benchmark/benchmark.ts:131
↓ 1 callers
Function
createEscapeMethods
(textToEncode: string)
benchmark/benchmark.ts:112
↓ 1 callers
Function
createHtml4DecodeMethods
(textToDecode: string)
benchmark/benchmark.ts:74
↓ 1 callers
Function
createHtml4EncodeMethods
(textToEncode: string)
benchmark/benchmark.ts:62
↓ 1 callers
Function
createHtml5DecodeMethods
(textToDecode: string)
benchmark/benchmark.ts:47
↓ 1 callers
Function
createHtml5EncodeMethods
(textToEncode: string)
benchmark/benchmark.ts:31
↓ 1 callers
Function
createIndexes
(alphaIndex: {[k: string]: string}, charIndex: {[k: string]: {[k: string]: string}})
benchmark/old/html5-entities.ts:144
↓ 1 callers
Function
createRequireTests
(modules: Record<string, string>)
benchmark/benchmark.ts:24
↓ 1 callers
Function
createXmlDecodeMethods
(textToDecode: string)
benchmark/benchmark.ts:99
↓ 1 callers
Function
createXmlEncodeMethods
(textToEncode: string)
benchmark/benchmark.ts:86
↓ 1 callers
Function
decodeEntity
( entity: string | undefined | null, {level = 'all'}: CommonOptions = defaultDecodeEntityOptions )
src/index.ts:165
↓ 1 callers
Function
section
(sectionName: string, callback: () => void)
benchmark/benchmark.ts:123
Function
cleanNodeModulesCache
()
benchmark/benchmark.ts:17
Method
decode
(str: string)
benchmark/old/html5-entities.ts:12
Method
decode
(str: string)
benchmark/old/html4-entities.ts:22
Method
encode
(str: string)
benchmark/old/html5-entities.ts:41
Method
encode
(str: string)
benchmark/old/html4-entities.ts:51
Method
encodeNonASCII
(str: string)
benchmark/old/html5-entities.ts:115
Method
encodeNonASCII
(str: string)
benchmark/old/html4-entities.ts:101
Method
encodeNonUTF
(str: string)
benchmark/old/html5-entities.ts:73
Method
encodeNonUTF
(str: string)
benchmark/old/xml-entities.ts:73
Method
encodeNonUTF
(str: string)
benchmark/old/html4-entities.ts:70