Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colinhacks/zod
/ codec-examples.test.ts
File
codec-examples.test.ts
packages/zod/src/v4/classic/tests/codec-examples.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect, test } from
"vitest"
;
2
import
* as z from
"zod/v4"
;
3
4
// ============================================================================
Callers
nothing calls this directly
Calls
15
stringToNumber
Function · 0.85
stringToInt
Function · 0.85
stringToBigInt
Function · 0.85
numberToBigInt
Function · 0.85
isoDatetimeToDate
Function · 0.85
epochSecondsToDate
Function · 0.85
epochMillisToDate
Function · 0.85
jsonCodec
Function · 0.85
utf8ToBytes
Function · 0.85
bytesToUtf8
Function · 0.85
base64urlToBytes
Function · 0.85
hexToBytes
Function · 0.85
Tested by
no test coverage detected