open-index/open-npm huggingface dataset:
npm package: @summit-electric-supply/ember-cp-validations
Description: Ember computed property based validation library
Latest version: 4.1.0

# Ember CP Validations

[![build](https://img.shields.io/github/workflow/status/summit-electric-supply/ember-cp-validations/CI)](https://github.com/summit-electric-supply/ember-cp-validations/actions?query=workflow%3ACI)
[![npm](https://img.shields.io/npm/v/@summit-electric-supply/ember-cp-validations)](https://www.npmjs.com/package/@summit-electric-supply/ember-cp-validations)

An EmberJS validation framework that is completely and utterly computed property based,
forked from [ember-cp-validators](https://github.com/offirgolan/ember-cp-validations).

## Compatibility

* Ember.js v3.16 or above
* Ember CLI v2.13 or above
* Node.js v10 or above

## Features

**No observers were used nor harmed while developing and testing this addon.**

- Lazily computed validations
- Ruby on rails inspired validators
- Support for Ember Data Models, Objects, Components, Services, etc.
- Support for nested models and objects
- Synchronous and asynchronous support
- Easily integrated with Ember Data's [DS.Errors](http://emberjs.com/api/data/classes/DS.Errors.html)
- No observers. Seriously... there are none. Like absolutely zero....
- Custom validators
- I18n support
- Debounceable validations
- Warning validations

[![Introduction to Ember CP Validations](https://cloud.githubusercontent.com/assets/2922250/21854491/ebda55b8-d7e8-11e6-8d13-00dff93be8d8.png)](https://embermap.com/video/ember-cp-validations)

You can also learn more by watching this Global Ember Meetup talk:

[![Introduction to ember-cp-validations](https://i.vimeocdn.com/video/545445254.png?mw=1920&mh=1080&q=70)](https://vimeo.com/146857699)

## Installation

```shell
ember install @summit-electric-supply/ember-cp-validations
```

## Upgrading to 4.x

If you are upgrading from 3.x to 4.x, please checkout the [upgrading documentation](UPGRADING.md).

## Helpful Links

- ### [Live Demo](http://summit-electric-supply.github.io/ember-cp-validations)

- ### Documentation

  - [4.1](http://summit-electric-supply.github.io/ember-cp-validations/docs)
  - [4.0](http://offirgolan.github.io/ember-cp-validations/docs)
  - [3.x](https://rawgit.com/offirgolan/ember-cp-validations/c4123c983e54f24dd790ffa1bad66cfdf2f47ec6/docs/index.html)

- ### [Changelog](CHANGELOG.md)

## Looking for help?

- If it is a bug [please open an issue on GitHub](http://github.com/offirgolan/ember-cp-validations/issues).
- Ask a question in the `#e-cp-validations` channel at the [Ember.js Community Slack](https://embercommunity.slack.com)