Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/why520crazy/ngx-validator

Angular 7+ Validator, a library handle validation messages easy and automatic
https://github.com/why520crazy/ngx-validator

Last synced: 13 days ago
JSON representation

Angular 7+ Validator, a library handle validation messages easy and automatic

Awesome Lists containing this project

README

        

# ngx-validator

[![Coverage Status][coveralls-image]][coveralls-url]
[![Build Status][build-status]](https://circleci.com/gh/why520crazy/ngx-validator)
[![npm version](https://badge.fury.io/js/%40why520crazy%2Fngx-validator.svg)](https://www.npmjs.com/@why520crazy/ngx-validator)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@why520crazy/ngx-validator)
[![docgeni](https://img.shields.io/badge/docs%20by-docgeni-348fe4)](https://github.com/docgeni/docgeni)
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors)

[coveralls-image]: https://coveralls.io/repos/github/why520crazy/ngx-validator/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/why520crazy/ngx-validator
[build-status]: https://circleci.com/gh/why520crazy/ngx-validator.svg?style=svg

An Angular 7+ form validator library, may be the best angular validator library in the world.

> handle validation messages easy and automatic, don't need to manually write error tips templates, just configure validation rules, and support extensive custom feedback strategy.

## Demo

[Live Demo](https://why520crazy.github.io/ngx-validator)

[Use Case](https://worktile.com/signup?utm_source=w5c-ngx-validator)

## Installation

```
npm install @why520crazy/ngx-validator --save
# or
yarn add @why520crazy/ngx-validator
```

## Usage

See https://why520crazy.github.io/ngx-validator/
## Documentation

- [如何优雅的使用 Angular 表单验证](https://zhuanlan.zhihu.com/p/51467181)
- [Angular 表单验证类库 ngx-validator 1.0 正式发布](https://github.com/why520crazy/ngx-validator/blob/master/1.0.0-publish.md)

## Development

```
$ git clone [email protected]:why520crazy/ngx-validator.git
$ cd ngx-validator
$ npm install
$ npm run start // http://127.0.0.1:4900
$ npm run test
```

## Building & Publish

```
$ npm run build
$ npm run pub
```

## Links

- [Angular.io](https://angular.io)
- [Angular.cn](https://angular.cn)
- [Worktile.com](https://worktile.com?utm_source=w5c-ngx-validator)

## License

[MIT License](https://github.com/why520crazy/ngx-validator/blob/master/LICENSE)

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

why520crazy
why520crazy

💬luxiaobei
luxiaobei

💻Walker
Walker

🎨

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!