Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mvrd-node

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvrd-node

Nigerian Motor Vehicle Registration Information Library

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

mvrd-node

A library for getting the data of Nigerian vehicle using the registration plate number.

Installation

NODE and NPM are required.

npm install mvrd-node  --save

Usage

The basic usage of this library is:


/**
 * Get Vehicle Data
 * @param {String} platenumber 
 * @return {Promise} Object 
 */

 var mvrd = require('mvrd-node');
 
 var platenumber = 'FST918EH';  
 var client = new mvrd();
 client.getData(platenumber).then(function(resp){
     console.log(resp);
 })
 // Sample Output would look like:
{ plateNumber: 'FST918EH',
  ownerName: ' PAUL A SEGUN',
  color: 'Green',
  model: 'Honda Accord',
  chasisNumber: '1HGCMxxxxxxx39882',
  vehicleStatus: 'Default',
  isssueDate: '2016-09-08T12:50:46.493',
  expiryDate: '2017-09-07T12:50:46.493' }
  

Unit Test

npm test

Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.

How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Don't forget to follow me on twitter!

Thanks! Ikedieze Onyeforo.

License

The MIT License (MIT). Please see License File for more information.

Keywords

FAQs

Package last updated on 18 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc