Декодировать вин код автомобиля
npm install umapi_vin_decode
npm install umapi_vin_decode
`
Тест
`
npm run test
`
Использование
Подключение:
`js
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 )
}
`
$3
`js
console.log( vin.getDecodeVin() )
`
$3
`js
console.log( vin.getWmi() )
`
$3
`js
console.log( vin.getVds() )
`
$3
`js
console.log( vin.getVis() )
`
$3
`js
console.log( vin.identifyManufacturer() )
`
$3
`js
console.log( vin.identifyCountry() )
`
$3
`js
console.log( vin.identifyModelYear() )
``