# angular-xregexp

> angular-xregexp ==============

Latest version **1.0.0** (published 2016-11-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-xregexp
pnpm add angular-xregexp
yarn add angular-xregexp
bun add angular-xregexp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-11-16 |
| First published | 2016-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | cosimomeli |

## Links

- npm: https://www.npmjs.com/package/angular-xregexp
- Repository: https://github.com/cosimomeli/angular-xregexp
- Homepage: https://github.com/cosimomeli/angular-xregexp#readme
- Issues: https://github.com/cosimomeli/angular-xregexp/issues
- npm.io page: https://npm.io/package/angular-xregexp

## Dependencies (1)

- [xregexp](https://npm.io/package/xregexp.md) 3.x

## Recent versions

- 1.0.0 (latest) — 2016-11-16

## README

angular-xregexp
==============

XRegExp validator for AngularJS.
This library decorates ngPattern to use [XRegExp](http://xregexp.com/) for more complex regular expression.


Installation
------------

You can choose your preferred method of installation:
* Through bower: `bower install angular-xregexp --save`
* Through npm: `npm install angular-xregexp xregexp --save`
* Download from github: [angular-xregexp.min.js](https://raw.github.com/cosimomeli/angular-xregexp/master/angular-xregexp.min.js)

Usage
-----
Include both **xregexp-all.js** and **angular-xregexp.js** in your application.

```html
<script src="components/xregexp/xegexp-all.js"></script>
<script src="components/angular-xregexp/angular-xregexp.js"></script>
```

Add the module `angularXRegExp` as a dependency to your app module:

```js
var myapp = angular.module('myapp', ['angularXRegExp']);
```
Then just use `ng-pattern` as always.

License
----

Released under the terms of the [MIT License](LICENSE).

---
_Source: https://npm.io/package/angular-xregexp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
