@thx/tschemas

Useful yup schema shortcuts

Stats

StarsIssuesVersionUpdatedCreatedSize
@thx/tschemas
2510.1.13 years ago5 years agoMinified + gzip package size for @thx/tschemas in KB

Readme


sidebar_label: TSchemas title: TSchemas


Useful yup schema shortcuts

Install

yarn add @thx/tschemas

Usage

import {shape} from 'yup';
import {localDate} from '@thx/tschemas';

const schema = shape({
  myDate: localDate().required(),
});

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.