Back to packages list

Vals using zod

Description from the NPM package:
TypeScript-first schema declaration and validation library with static type inference
fshine99 avatar
bookReservationOnResy
@fshine99
Script
// To test the function
emarref avatar
EnvironmentConfig
@emarref
Script
Utility to retrieve typesafe environment variable configuration with Zod. const { DB_HOST } = config({ DB_HOST: z.string(), }); // DB_HOST is a string, or an error is thrown.
charlypoly avatar
exampleTopHackerNewsDailyEmail
@charlypoly
Cron
An interactive, runnable TypeScript val by charlypoly
emarref avatar
IntentToReceive
@emarref
HTTP
Implements Xero's "Intent to Receive" signature validation webhook.
domingo1987 avatar
problemPython
@domingo1987
HTTP
// Privacy policy template in Markdown
yawnxyz avatar
aiImageExample
@yawnxyz
Script
// Function to handle image and text input using OpenAI's GPT-4-turbo
yawnxyz avatar
nighthawks
@yawnxyz
Script
This is nighthawks an experimental NPC character generator that remembers details about conversations. Import this into other workflows for now; a UI is coming soon!
xkonti avatar
gptApiTemplate
@xkonti
HTTP
This Val is a template for creating GPT actions. To have a full explanation on how to use it or create your own, you can check out the Creating GPT Actions with ValTown tutorial: Video on YouTube Article on xkonti.tech The GPT using it: Game Idea Exchange GPT
xkonti avatar
gameIdeaApi
@xkonti
HTTP
This Val is a part of Creating GPT Actions with ValTown tutorial: Video on YouTube Article on xkonti.tech The GPT using it: Game Idea Exchange GPT
ckersey2 avatar
zodStringToJSON
@ckersey2
Script
Useful when working with ZodFormData and you need to parse a text field that contains JSON. See https://www.val.town/v/freecrayon/zodStringToJSON_example for an example of how to use it.
kmb avatar
bookReservationOnResy
@kmb
Script
An interactive, runnable TypeScript val by kmb
freecrayon avatar
zodStringToJSON
@freecrayon
Script
Useful when working with ZodFormData and you need to parse a text field that contains JSON. See https://www.val.town/v/freecrayon/zodStringToJSON_example for an example of how to use it.
arrudaricardo avatar
echo_http
@arrudaricardo
HTTP
An interactive, runnable TypeScript val by arrudaricardo
saolsen avatar
sudoku
@saolsen
Script
An interactive, runnable TypeScript val by saolsen
case avatar
market_kelly_bet
@case
HTTP
// Copied from https://github.com/Will-Howard/manifolio/blob/master/manifolio-ui/lib/calculate.ts
xkonti avatar
gptApiSchemaBuilder
@xkonti
Script
An interactive, runnable TypeScript val by xkonti