New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@effective-forms/zod

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effective-forms/zod

See full [documentaion](https://github.com/MiiZZo/effective-forms) ### About library Integrate `zod` with [core package](http://www.npmjs.com/package/@effective-forms/core) ## Installation

latest
npmnpm
Version
0.0.13
Version published
Maintainers
1
Created
Source

@effective-forms/zod

See full documentaion

About library

Integrate zod with core package

Installation

NPM

npm install zod @effective-forms/zod

Yarn

yarn add zod @effective-forms/zod

Usage example

import { createForm } from '@effective-forms/core';
import { zodSchema } from '@effective-forms/zod';
import { z } from 'zod';

const userSchema = z.object({
  email: z.string(),
  password: z.string(),
});

const form = createForm(
  zodSchema({
    schema: userSchema,
    initialValues: {
      email: '',
      password: '',
    },
  })
);

Keywords

zod

FAQs

Package last updated on 26 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts