carquery-api

0.1.1 • Public • Published

node-carquery-api

Usage

const CarQuery = require('carquery-api');

CarQuery.getYears((err, results) => {
  if (err) return err;
  return console.log(results); // { minimum: 1940, maximum: 2016 }
});

Functions

  • getMakes - gets all makes
  • getModel - gets model details for a model
  • getModels- gets all models for a make
  • getTrims - gets details of various models
  • getYears - gets the minimum and maximum years

Lint

npm run lint

Test

npm test

Dependencies (2)

Dev Dependencies (6)

Package Sidebar

Install

npm i carquery-api

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • varfranv