Skip to content

Commit 455e1e2

Browse files
committed
feat(component): Common Regex Functions
Adds common useful regular expressions functions to find possible candidate string matches BREAKING CHANGE: New regular expressions functions has been added and multiple edits have been made to previous common functions as well
1 parent 7cb8173 commit 455e1e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2032
-719
lines changed

.flowconfig

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@
22
<br>
33
<a href="https://github.com/npranto/regexer"><img src="./src/assets/images/R-logo.png" alt="Regexer" width="300"></a>
44
<br>
5-
Regexer
5+
<strong>Regexer</strong>
66
<br>
77
</h1>
88

9+
[![NPM](https://nodei.co/npm/nsp-regexer.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/nsp-regexer/)
10+
911
[![CircleCI](https://img.shields.io/circleci/project/github/npranto/regexer.svg?style=for-the-badge)](https://circleci.com/gh/npranto/regexer)
12+
![npm](https://img.shields.io/npm/v/nsp-regexer.svg?style=for-the-badge)
13+
![npm](https://img.shields.io/npm/dt/nsp-regexer.svg?style=for-the-badge)
1014
[![GitHub issues](https://img.shields.io/github/issues/npranto/regexer.svg?style=for-the-badge)](https://github.com/npranto/regexer/issues)
15+
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge)](http://commitizen.github.io/cz-cli/)
1116
[![GitHub license](https://img.shields.io/github/license/npranto/regexer.svg?style=for-the-badge)](https://github.com/npranto/regexer/blob/master/LICENSE)
17+
18+
1219
<h4 align="left">
1320
A simple and convenient library of functions that leverages regular expressions while hiding its complexity of implementation
1421
</h4>
@@ -69,12 +76,14 @@ $ npm install --save nsp-regexer
6976
```js
7077
// ES5
7178
const regexer = require('nsp-regexer');
79+
7280
console.log( regexer.isEmail('[email protected]') ) // true
7381
console.log( regexer.isLowerCase('KEVIN') ) // false
7482
```
7583
```js
7684
// ES6+
7785
import { isVowel, isNegativeNumber } from 'nsp-regexer';
86+
7887
console.log( isVowel('b') ) // false
7988
console.log( isNegativeNumber(-50.67) ) // true
8089
```
@@ -103,6 +112,10 @@ Source code makes use of several open source packages, a few keys ones include..
103112

104113
[MIT](https://tldrlegal.com/license/mit-license)
105114

106-
## Authors
115+
## Contributors
107116

108-
* **Nazmuz Shakib Pranto** [[GitHub](https://github.com/npranto) | [LinkedIn](https://www.linkedin.com/in/npranto/)]
117+
<div>
118+
<a href="https://github.com/npranto">
119+
<img src="https://avatars2.githubusercontent.com/u/13524077?v=4" alt="Nazmuz Shakib pranto" width="50" style="border-radius:50%" />
120+
</a>
121+
</div>

0 commit comments

Comments
 (0)