0.1.2 • Published 4 years ago

valid-ts v0.1.2

Weekly downloads
14
License
MIT
Repository
github
Last release
4 years ago

Valid-ts

npm package

It's a very simple validation library. No dependencies. Written in TypeScript. Useful for counstructing well-typed validation functions using a declarative interface. The validation functions are generally supposed to accept any input, ensure its shape during runtime and return typed values.

Installation:

npm install --save valid-ts

Documentation

I want to try out an unusual approach to documentation. I've created a sandbox project in the awesome codesandbox.io:

https://codesandbox.io/s/valid-ts-sandbox-9xxjj

All you need to know to use the library lives in the comments of src/index.ts there.

Example projects

There are two simple example projects to look at. Please check their README.mds to build and test them:

Development

npm install

npm test

Contributing

You're welcome to open a GitHub issue about any problem/question you have. Even a typo in documentation is a good thing to report!

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago