car-info
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

car-info

npm npm

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");

Readme

Keywords

Package Sidebar

Install

npm i car-info

Weekly Downloads

127

Version

0.1.7

License

none

Unpacked Size

45.5 kB

Total Files

5

Last publish

Collaborators

  • banksnussman