aadhaarmask
v2.0.2
Published
invoid SDK to mask any aadhaar card
Downloads
5
Readme
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 [email protected]
Init Object
The strictness parameter decides how strict the masking will be. Defining it as 10, you can mask all the digits.