datos
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

README

In beta, use at your own risk

A simple React form utility to enable easy validation with minimal dependencies and written in TypeScript.

Some key features:

  • Minimal dependencies
  • Built in TypeScript
  • Allows for easy validation, and manual validation errors from server responses
  • Using modern techniques

Dependencies

I opted to have moment and react-datetime as the only major dependencies. I think that date selection is usually pretty important (at least for myself).

There are peer dependencies on moment, react, and react-dom.

Why I built this

Current solutions were not meeting my needs more my style. I ended up creating much of the components I required anyways, so I decided to make a simple utility until something more main stream meets my needs.

Usage

Check out the demo folder, I have an example. Better documentation to come.

Development

Clone the repo.

npm install

To run the demo:

npm start

Lint:

npm run lint

Build:

npm run build

Tests:

npm test

/datos/

    Package Sidebar

    Install

    npm i datos

    Weekly Downloads

    2

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • calderhayes