Skip to content

Commit

Permalink
fix: readme formatting ✏️
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale French committed Feb 28, 2020
1 parent 57c8c1d commit d27fd98
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ Install using NPM / Yarn
npm i south-african-id-validator
```

````bash
```bash
yarn add south-african-id-validator
```

```js
import { validateIdNumber } from 'south-african-id-validator'
Expand All @@ -28,16 +29,7 @@ validateIdNumber(

// example
validateIdNumber('7311190013080);
// ************
{
valid: true,
gender: 'female',
isCitizen: true,
DOB: 1973-11-18T22:00:00.000Z
}
// ************
````
```
### Demo
Expand Down

0 comments on commit d27fd98

Please sign in to comment.