UNPKG

@ts-fluentvalidation/core

Version:

Core library of @ts-fluentvalidation providing validations in a fluent syntax.

37 lines (24 loc) 1.79 kB
<div align=center> <h1>@ts-fluentvalidation</h1> <p align=center> TypeScript port of .NET <a href="https://docs.fluentvalidation.net/" target="_blank">FluentValidation</a> using a fluent functional API. [![core-version-badge]][core-npm-url] </p> [![license-badge]][license-url] [![open-issues-badge]][open-issues-url] [![open-pull-requests-badge]][open-pull-requests-url] </div> The goal of this repository is to bring a similarly good DX and usability than FluentValidation does in .NET to TypeScript by providing the abiolity to build strongly-typed and human-readable validators without any further dependencies while focussing on reusability and extensibility. ## Installation / Usage Please refer to the official [documentation](https://bohoffi.github.io/ts-fluentvalidation/) which covers everything from installation over creating/extending validators to testing. ## Found a bug or want to help? Refer to the [contribution guidelines](CONTRIBUTING.md) before creating an issue or submitting a PR. <!-- badge variables --> [core-version-badge]: https://img.shields.io/npm/v/%40ts-fluentvalidation%2Fcore?style=for-the-badge&label=core [core-npm-url]: https://www.npmjs.com/package/@ts-fluentvalidation/core [license-badge]: https://img.shields.io/github/license/bohoffi/ts-fluentvalidation?style=for-the-badge [license-url]: https://github.com/bohoffi/ts-fluentvalidation/blob/develop/LICENSE [open-issues-badge]: https://img.shields.io/github/issues/bohoffi/ts-fluentvalidation?style=for-the-badge [open-issues-url]: https://github.com/bohoffi/ts-fluentvalidation/issues [open-pull-requests-badge]: https://img.shields.io/github/issues-pr/bohoffi/ts-fluentvalidation?style=for-the-badge [open-pull-requests-url]: https://github.com/bohoffi/ts-fluentvalidation/pulls