Skip to content

Commit e413fab

Browse files
authored
Merge pull request #1 from devamaz/master
add doc
2 parents a6cfdaf + f10b4a0 commit e413fab

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: node_js
2+
3+
node_js:
4+
- node
5+
- 11.0.0
6+
- 12.0.0
7+
- 13.0.0
8+
- 14.0.0
9+
- 15.0.0
10+
- 16.0.0
11+
12+
sudo: false
13+
14+
15+
install:
16+
- npm install
17+
18+
cache:
19+
directories:
20+
- ~/.npm # cache npm's cache
21+
- ~/npm # cache latest npm
22+
23+
notifications:
24+
email:
25+

readme.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
1-
# Convert Nigeria Phone Numbers
1+
# Convert Nigeria Phone Numbers
2+
3+
[![NPM Version][npm-image]][npm-url]
4+
5+
add +234 to any nigeria number
6+
7+
### Overview
8+
This project help handle the problem of user registering with +23480xxxxxx and trying to login with 80xxxxx
9+
10+
### Installation
11+
npm
12+
```
13+
npm i --save convertngnum
14+
```
15+
yarn
16+
```
17+
yarn add convertngnum
18+
```
19+
20+
### Usage
21+
```js
22+
// Require the library
23+
const convertngnum = require("convertngnum");
24+
25+
let convertNum = convertngnum('08078xxxxxx')
26+
27+
```
28+
29+
### License
30+
MIT
31+
32+
### Credits
33+
- [Ahmad Abdulaziz](https://twitter.com/devamaz)
34+
- [Hassan Sani](https://twitter.com/inidaname)
35+
36+
37+
[npm-image]: https://img.shields.io/npm/v/convertngnum?color=red
38+
[npm-url]: https://www.npmjs.com/package/convertngnum

0 commit comments

Comments
 (0)