UNPKG

obd-raw-data-parser

Version:

A lightweight TypeScript library for parsing OBD-II raw data into human readable format. Based on the excellent work of obd-utils by Nishkalkashyap.

11 lines (10 loc) 442 B
export declare class VinDecoder { private static readonly VALID_VIN_PATTERN; static isVinData(obdData: string): boolean; static validateVIN(vin: string): boolean; private static cleanHexData; private static processHexData; static processVINByteArray(byteArray: number[][]): string | null; static processVINResponse(response: string): string | null; static processVINSegments(rawData: string): string | null; }