npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/api_gov_uk_vehicle_enquiry

v3.0.0

Published

DataFire integration for Vehicle Enquiry API

Readme

@datafire/api_gov_uk_vehicle_enquiry

Client library for Vehicle Enquiry API

Installation and Usage

npm install --save @datafire/api_gov_uk_vehicle_enquiry
let api_gov_uk_vehicle_enquiry = require('@datafire/api_gov_uk_vehicle_enquiry').create();

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

Description

Interface specification for the DVLA Vehicle Enquiry API

Actions

getVehicleDetailsByRegistrationNumber

Returns vehicle details based on registration number

api_gov_uk_vehicle_enquiry.getVehicleDetailsByRegistrationNumber({
  "x-api-key": "",
  "body": {}
}, context)

Input

  • input object
    • x-api-key required string: Client Specific API Key
    • X-Correlation-Id string: Consumer Correlation ID
    • body required VehicleRequest

Output

Definitions

ErrorResponse

  • ErrorResponse object: Error Response

Errors

  • Errors object
    • code string: DVLA reference code
    • detail string: A meaningful description of the error which has occurred
    • status string
    • title required string: Error title

Vehicle

  • Vehicle object
    • artEndDate string: Additional Rate of Tax End Date, format: YYYY-MM-DD
    • co2Emissions integer: Carbon Dioxide emissions in grams per kilometre
    • colour string: Vehicle colour
    • dateOfLastV5CIssued string: Date of last V5C issued
    • engineCapacity integer: Engine capacity in cubic centimetres
    • euroStatus string: Euro Status (Dealer / Customer Provided (new vehicles))
    • fuelType string: Fuel type (Method of Propulsion)
    • make string: Vehicle make
    • markedForExport boolean: True only if vehicle has been export marked
    • monthOfFirstDvlaRegistration string: Month of First DVLA Registration
    • monthOfFirstRegistration string: Month of First Registration
    • motExpiryDate string: Mot Expiry Date
    • motStatus string (values: No details held by DVLA, No results returned, Not valid, Valid): MOT Status of the vehicle
    • realDrivingEmissions string: Real Driving Emissions value
    • registrationNumber required string: Registration number of the vehicle
    • revenueWeight integer: Revenue weight in kilograms
    • taxDueDate string: Date of tax liablity, Used in calculating licence information presented to user
    • taxStatus string (values: Not Taxed for on Road Use, SORN, Taxed, Untaxed): Tax status of the vehicle
    • typeApproval string: Vehicle Type Approval Category
    • wheelplan string: Vehicle wheel plan
    • yearOfManufacture integer: Year of Manufacture

VehicleRequest

  • VehicleRequest object
    • registrationNumber string