1.0.0 • Published 2 years ago

international-vehicle-registration-code v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

International Vehicle Registration Code

With this module you can search for country codes for vehicles, or vice versa. You can also simply use this JSON file

How to install

npm i international-vehicle-registration-code

How to Use

const IVRC = require('international-vehicle-registration-code')
const ivrc_instance = new IVRC()
// findByName('Aus') => [{"Code":"A","Country":"Austria"},{"Code":"AUS","Country":"Australia"}
ivrc_instance.findByName('CountryName')
// findByCode('Aus') => [{"Code":"AUS","Country":"Australia"}]
ivrc_instance.findByCode('CountryCode')

The origin of the data comes from: https://en.wikipedia.org/wiki/International_vehicle_registration_code#Current_codes

1.0.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago