@jackkweyunga/nidajs
v3.0.3
Published
A node module to fetch details for a given NIN (tz)
Downloads
14
Maintainers
Readme
nidajs
A simple nodejs package to fetch details of a given NIN provided.
- Bundled with tests and features that ensure a successful fetch. @unofficial
[npm]
https://www.npmjs.com/package/@jackkweyunga/nidajs
Installation
npm i @jackkweyunga/nidajs
Usage
nodejs
replace the string "xxxxxxxxxxxxxxxxxxx" with a NIN.
const { Nidajs } = require('@jackkweyunga/nidajs')
nida = new Nidajs();
nida.loadDetails("xxxxxxxxxxxxxxxxxxx").then(details => {
console.log(details); // an object of nin details
}).catch(err => console.log(err))
Therefore its usage extends to most all node frameworks.
Contributing
support the project by giving it a :star:
star
Follow me jackkweyunga
:fork_and_knife: Fork ( its opensource )
Open an issue in case of misbehabiours 👎 or suggesting a new feature.
...
credits
I learnt some important things from Kalebu
Licence
MIT