Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jshttp/cookie
/ functions
Functions
30 in github.com/jshttp/cookie
⨍
Functions
30
◇
Types & classes
3
↓ 42 callers
Function
parseSetCookie
(str: string, options?: ParseOptions)
src/index.ts:397
↓ 30 callers
Function
stringifyCookie
( cookie: Cookies, options?: StringifyOptions, )
src/index.ts:159
↓ 27 callers
Function
stringifySetCookie
( cookie: SetCookie, options?: StringifyOptions, )
src/index.ts:285
↓ 8 callers
Function
valueSlice
* Slice out a value between startPod to max.
src/index.ts:494
↓ 6 callers
Function
parseCookie
(str: string, options?: ParseOptions)
src/index.ts:112
↓ 4 callers
Function
genCookies
(num: number)
src/parse-cookie.bench.ts:51
↓ 3 callers
Function
endIndex
* Find the next `;` character, or return `len`.
src/index.ts:478
↓ 3 callers
Function
eqIndex
* Find the next `=` character, or return `len`.
src/index.ts:486
↓ 2 callers
Function
genCookies
(num: number)
src/stringify-cookie.bench.ts:49
↓ 2 callers
Function
sortObject
(obj: Record<string, T>)
scripts/update-benchmark.ts:91
↓ 1 callers
Function
get
(href: string)
scripts/update-benchmark.ts:33
↓ 1 callers
Function
getAllCookies
(domains: string[])
scripts/update-benchmark.ts:43
↓ 1 callers
Function
getSetCookies
(domain: string)
scripts/update-benchmark.ts:62
↓ 1 callers
Function
main
()
scripts/update-benchmark.ts:14
↓ 1 callers
Function
obfuscate
(str: string, index: number)
scripts/update-benchmark.ts:72
↓ 1 callers
Function
toCookies
(setCookies: string[])
scripts/update-benchmark.ts:68
↓ 1 callers
Function
valueSliceDoThenWhile
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:42
↓ 1 callers
Function
valueSliceDoThenWhileEmptyString
( str: string, min: number, max: number, )
benchmarks/value-slice.bench.ts:60
↓ 1 callers
Function
valueSliceDoThenWhileExitEarly
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:82
↓ 1 callers
Function
valueSliceThenTrim
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:175
↓ 1 callers
Function
valueSliceTwoDoWhile
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:140
↓ 1 callers
Function
valueSliceTwoDoWhileExitEarly
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:157
↓ 1 callers
Function
valueSliceTwoWhile
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:101
↓ 1 callers
Function
valueSliceTwoWhileExitEarly
(str: string, min: number, max: number)
benchmarks/value-slice.bench.ts:120
Function
C
()
src/index.ts:77
Function
decode
* URL-decode string value. Optimized to skip native call when no %.
src/index.ts:516
Function
decode
(str: string)
src/parse-set-cookie.spec.ts:110
Function
decode
(v: string)
src/stringify-cookie.spec.ts:196
Function
defaultEncode
* URL-encode string value. Optimized to skip native call for roundtrip-safe cookie-octet values.
src/index.ts:529
Function
encode
(v: string)
src/stringify-cookie.spec.ts:195