2 downloads 64 views Mar 18, 2025
profile

Zood by Fabra

Updated Mar 18, 2025
project thumbnail

Welcome to Zood

Zood is a Lua library for ComputerCraft that provides a powerful and flexible way to validate and transform data structures. Inspired by Zod for TypeScript, Zood brings type safety and schema validation to Lua, making it easier to handle complex data in your ComputerCraft programs.

Documentation | Repository


Features

  • Type Validation: Ensure data matches expected types (e.g., strings, numbers, tables).
  • Custom Validators: Add custom validation logic to suit your needs.
  • Data Transformation: Transform data as it is validated (e.g., trim strings, convert case).
  • Error Handling: Detailed error messages for debugging and validation failures.
  • Schema Composition: Combine schemas to create complex validation rules.
wget run https://pinestore.cc/d/135
Git Repository
comments
You can login with Discord to leave comments and reply to others!
pfp Fatboychummy 11 days ago

url schema does not allow direct IPs or localhost!

http://localhost -> Valid!

http://127.0.0.1 -> Valid!

pfp Fabra Creator 11 days ago

thanks for catching that.. I've updated the URL schema now