@oliveward-common/data-common
v0.0.13
Published
Reusable library package in this monorepo.
Downloads
74
Readme
@oliveward-common/data-common
Reusable library package in this monorepo.
Install
npm install @oliveward-common/data-commonUsage
import * as api from '@oliveward-common/data-common'Public API
This package exports the following API surface from src/index.ts:
export {
ZodFloat,
ZodString,
ZodBoolean,
ZodInt32,
ZodInt64,
ZodBinary,
ZodInstant,
ZodPlainDate,
ZodPlainDateTime,
ZodPlainTime,
ZodZonedDateTime,
ZodDuration,
} from './schemas.js'
export {
ZodUuid,
ZodEmail,
ZodUrl,
ZodIpv4,
ZodIpv6,
toUuid,
toEmail,
toUrl,
toIpv4,
toIpv6,
isUuid,
isEmail,
isUrl,
isIpv4,
isIpv6,
} from './branded-types.js'
export type { Uuid, Email, Url, Ipv4, Ipv6 } from './branded-types.js'
Development
npm run build -w @oliveward-common/data-common
npm run test -w @oliveward-common/data-common