https://github.com/jackkweyunga/nidajs
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.
https://github.com/jackkweyunga/nidajs
nida nodejs npm-package
Last synced: 9 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/jackkweyunga/nidajs
- Owner: jackkweyunga
- Created: 2021-08-12T19:26:09.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-22T11:43:43.000Z (almost 5 years ago)
- Last Synced: 2025-07-08T14:46:12.080Z (about 1 year ago)
- Topics: nida, nodejs, npm-package
- Language: JavaScript
- Homepage:
- Size: 810 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```cmd
npm i --save nidjs
```
```typescript
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
```cmd
npm i --save nidnode
```
```javascript
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: `star`
- #### Follow me [jackkweyunga](https://github.com/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](https://github.com/Kalebu/Nida)
# Licence
MIT