Socket
Socket
Sign inDemoInstall

south-african-fake-id-generator

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

south-african-fake-id-generator - npm Package Compare versions

Comparing version 1.0.12 to 1.0.15

2

package.json
{
"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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc