MCPcopy Create free account

hub / github.com/jshttp/cookie / functions

Functions30 in github.com/jshttp/cookie

↓ 42 callersFunctionparseSetCookie
(str: string, options?: ParseOptions)
src/index.ts:397
↓ 30 callersFunctionstringifyCookie
( cookie: Cookies, options?: StringifyOptions, )
src/index.ts:159
↓ 27 callersFunctionstringifySetCookie
( cookie: SetCookie, options?: StringifyOptions, )
src/index.ts:285
↓ 8 callersFunctionvalueSlice
* Slice out a value between startPod to max.
src/index.ts:494
↓ 6 callersFunctionparseCookie
(str: string, options?: ParseOptions)
src/index.ts:112
↓ 4 callersFunctiongenCookies
(num: number)
src/parse-cookie.bench.ts:51
↓ 3 callersFunctionendIndex
* Find the next `;` character, or return `len`.
src/index.ts:478
↓ 3 callersFunctioneqIndex
* Find the next `=` character, or return `len`.
src/index.ts:486
↓ 2 callersFunctiongenCookies
(num: number)
src/stringify-cookie.bench.ts:49
↓ 2 callersFunctionsortObject
(obj: Record<string, T>)
scripts/update-benchmark.ts:91
↓ 1 callersFunctionget
(href: string)
scripts/update-benchmark.ts:33
↓ 1 callersFunctiongetAllCookies
(domains: string[])
scripts/update-benchmark.ts:43
↓ 1 callersFunctiongetSetCookies
(domain: string)
scripts/update-benchmark.ts:62
↓ 1 callersFunctionmain
()
scripts/update-benchmark.ts:14
↓ 1 callersFunctionobfuscate
(str: string, index: number)
scripts/update-benchmark.ts:72
↓ 1 callersFunctiontoCookies
(setCookies: string[])
scripts/update-benchmark.ts:68
↓ 1 callersFunctionvalueSliceDoThenWhile
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:42
↓ 1 callersFunctionvalueSliceDoThenWhileEmptyString
( str: string, min: number, max: number, )
benchmarks/value-slice.bench.ts:60
↓ 1 callersFunctionvalueSliceDoThenWhileExitEarly
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:82
↓ 1 callersFunctionvalueSliceThenTrim
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:175
↓ 1 callersFunctionvalueSliceTwoDoWhile
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:140
↓ 1 callersFunctionvalueSliceTwoDoWhileExitEarly
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:157
↓ 1 callersFunctionvalueSliceTwoWhile
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:101
↓ 1 callersFunctionvalueSliceTwoWhileExitEarly
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:120
FunctionC
()
src/index.ts:77
Functiondecode
* URL-decode string value. Optimized to skip native call when no %.
src/index.ts:516
Functiondecode
(str: string)
src/parse-set-cookie.spec.ts:110
Functiondecode
(v: string)
src/stringify-cookie.spec.ts:196
FunctiondefaultEncode
* URL-encode string value. Optimized to skip native call for roundtrip-safe cookie-octet values.
src/index.ts:529
Functionencode
(v: string)
src/stringify-cookie.spec.ts:195