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

    Install

    npm i carquery-api

    DownloadsWeekly Downloads

    32

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • varfranv