JSPM

umapi_vin_decode

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q23090F
  • License MIT

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

Package Exports

  • umapi_vin_decode

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (umapi_vin_decode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

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

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

var UMAPI_VIN_DECODE = require('umapi_vin_decode')

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

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

console.log( vin.getDecodeVin() )

Получить VIN:

console.log( vin.getVin() )

Получить 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