# regular

> A collection of Javascript regular expressions

Latest version **0.1.6** (published 2013-12-27) · BSD license · 0 weekly downloads

## Install

```sh
npm install regular
pnpm add regular
yarn add regular
bun add regular
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2013-12-27 |
| First published | 2013-10-03 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Scott Corgan |
| Maintainers | scottcorgan |
| Keywords | regular, expressions |

## Links

- npm: https://www.npmjs.com/package/regular
- Repository: https://github.com/scottcorgan/regular
- Issues: https://github.com/scottcorgan/regular/issues
- npm.io page: https://npm.io/package/regular

## Recent versions

- 0.1.6 (latest) — 2013-12-27
- 0.1.5 — 2013-12-17
- 0.1.4 — 2013-12-03
- 0.1.3 — 2013-10-30
- 0.1.2 — 2013-10-04
- 0.1.1 — 2013-10-03

## README

# regular

A collection of Javascript regular expressions. One npm module to easily install and have access to the most commonly used regeular expressions.

## Install

```
npm install regular --save
```

## Usage

This module is simply a collection of regular expression. Use them as you would any other expression.

```javascript
var regular = require('regular');

console.log(regular.email.test('someemail@gmail.com')) // outputs true
```

#### Include Expressions

* ` email `
* ` url `
* ` domain `
* ` slug `
* ` ip address `
* ` credit cards ` *(visa, mastercard, amex, discover)*
* ` US social security numbers `
* ` alpha numerics `
* ` number `
* ` basicAuth `
* ` html ` (is this html?)
* **(More to come. Submit a pull request!)**


## Test

```
npm test
```

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