south-african-fake-id-generator
Advanced tools
Comparing version 1.0.12 to 1.0.15
{ | ||
"name": "south-african-fake-id-generator", | ||
"version": "1.0.12", | ||
"version": "1.0.15", | ||
"description": "This package generates valid fake south african id numbers.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,3 @@ | ||
# 🇿🇦 South African Fake Id Generator | ||
# 🇿🇦 South African Fake Id Generator (DummySAID API) | ||
[Demo](https://said.touch.net.za) | [Docs](https://dummysaid.touch.net.za) | [About Midas Touch Tech](https://touch.net.za) | | ||
@@ -7,4 +8,7 @@ ![Travis (.com)](https://img.shields.io/travis/com/AyabongaQwabi/south-african-fake-id-generator?style=for-the-badge) | ||
![David](https://img.shields.io/david/ayabongaqwabi/south-african-fake-id-generator?style=for-the-badge) | ||
![Implementation](https://saiddocs.touch.net.za/css/dummysaid.png) | ||
### What does it do? | ||
This package generates valid and invalid fake (random) South African Identity numbers. | ||
@@ -17,2 +21,3 @@ | ||
### How to use it? | ||
Download the library from NPM using the following command in a terminal: | ||
@@ -37,6 +42,8 @@ ``` | ||
// Generate valid random id number by age | ||
var fakeId = fakeSaIdGenerator.generateFakeIdByAge(23); | ||
var fakeId = fakeSaIdGenerator.generateFakeIdByAge('23'); | ||
// Note: age input parameter is a string | ||
// Generate invalid random id number by age | ||
var fakeId = fakeSaIdGenerator.generateInvalidFakeIdByAge(78); | ||
var fakeId = fakeSaIdGenerator.generateInvalidFakeIdByAge('78'); | ||
@@ -57,2 +64,2 @@ // Check if Id number is valid | ||
- [https://opensource.org/licenses/ISC](https://opensource.org/licenses/ISC) | ||
- [http://www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html) | ||
- [http://www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8224
62