Skip to content

jackkweyunga/nidajs

Repository files navigation

nidjs

A simple nodejs package to fetch details of a given NIN provided.

  • Bundled with tests and features that ensure a successful fetch. @unofficial

...

Usage

Web

Installation

 npm i --save nidjs 
import { Nidjs } from "nidjs";

const nida = new Nidjs()

nida.loadDetails(xxxxxxxxxxxxxxxxxxx).then( data => {
  console.log(data);
})

replace the string "xxxxxxxxxxxxxxxxxxx" with a NIN.

Usage

node

Installation

 npm i --save nidnode
const { Nid } = require("nidnode");

const sample_id = "xxxxxxxxxxxxxxxxxxx";

const nid = new Nid();

nid.loadDetails(sample_id).then(details => {
    console.log(details); // an object of nin details
}).catch(err => console.log(err))

Contributing

  • support the project by giving it a ⭐ star

  • Follow me jackkweyunga

  • 🍴 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

About

nidajs is a node js package for fetching details for a given NIN ( National identification number ) . Use it in your node and javascript projects or any thing else.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors