2.0.2 • Published 4 years ago

aadhaarmask v2.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Masking an Aadhaar

AadhaarMask is a JS library for masking Aadhaar Number in Aadhaar card

Installation

Use the package manager npm to install foobar.

npm install aadhaarmask

Usage

const mask = require('aadhaarmask');
var invoidInit = {
	'authkey':"AUTHKEY",
	'strictness':10
}
mask.initialize (invoidInit)
mask.maskImageFile('filepath', (err, status,base64,transactionId)=>{
	if (err) console.log(err)
	else{
		console.log(base64)
	}
})

Obtain Authkey

To obtain your authkey, please write to hello@invoid.co

Init Object

The strictness parameter decides how strict the masking will be. Defining it as 10, you can mask all the digits.

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago