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

2.0.0 • Public • Published

umapi_vin_decode

======

Nodejs модуль для декодирования вин кода автомобиля

Документация wiki:

List_of_common_WMI , List_of_all_WMIs

Country_or_Region_codes , WMI_Regions

Model_year_encoding , Model_year

Установка

npm install umapi_vin_decode

Тест

npm run test

Использование

Подключение:

var UmapiVinDecode = require('umapi_vin_decode').default

try {
    var vin = new UmapiVinDecode('your_vin_code')
    console.log( vin.getDecodeVin() )
} catch (error) {
    console.log( error.message )
}

Получить информацию по VIN:

console.log( vin.getDecodeVin() )

Получить WMI:

console.log( vin.getWmi() )

Получить VDS:

console.log( vin.getVds() )

Получить VIS:

console.log( vin.getVis() )

Производитель:

console.log( vin.identifyManufacturer() )

Регион:

console.log( vin.identifyCountry() )

Год выпуска:

console.log( vin.identifyModelYear() )

Автор

Alexandr Nikulin, e-mail: nekulin@mail.ru

Package Sidebar

Install

npm i umapi_vin_decode

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

242 kB

Total Files

33

Last publish

Collaborators

  • nekulin