Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
south-african-fake-id-generator
Advanced tools
This package generates valid and invalid dummy south african id numbers.
Demo | Docs | About Midas Touch Tech |
This package generates valid and invalid fake (random) South African Identity numbers.
This library can also check if the ID number supplied is a valid SouthAfrican ID number.
To find out more about the structure of a South African ID number visit this link
Download the library from NPM using the following command in a terminal:
npm install --save south-african-fake-id-generator
var fakeSaIdGenerator = require('south-african-fake-id-generator');
// Generate valid random id number
var fakeId = fakeSaIdGenerator.generateFakeId();
// Generate invalid random id number
var fakeId = fakeSaIdGenerator.generateInvalidFakeId();
// Generate valid random id number by age
var fakeId = fakeSaIdGenerator.generateFakeIdByAge('23');
// Note: age input parameter is a string
// Generate invalid random id number by age
var fakeId = fakeSaIdGenerator.generateInvalidFakeIdByAge('78');
// Check if Id number is valid
var fakeId = fakeSaIdGenerator.isValid(9701286633088); // false
Copyright 2020, Ayabonga Qwabi
This library can be used free of charge under either the ISC license or the GNU GPL 3.0.
FAQs
This package generates valid and invalid dummy south african id numbers.
The npm package south-african-fake-id-generator receives a total of 805 weekly downloads. As such, south-african-fake-id-generator popularity was classified as not popular.
We found that south-african-fake-id-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.