car-info
v0.1.7
Published
Typescript Library for Car Make and Models
Downloads
390
Readme
car-info
Typescript Library for Car Make and Models 🚗
- 🌎 Supports Web and Node.js
- 🔒 Typescript type safety
- 🚫 No dependencies
getMakes
Returns a list of makes (Toyota
, Ford
, Acura
, ...)
import { getMakes } from 'car-info';
const makes = getMakes();
getModels
Returns a list of models for a given make. For the example below Tundra
, Tacoma
, ... will be returned
import { getModels } from 'car-info';
const models = getModels("Toyota");