tesla-vin

0.0.11 • Public • Published

tesla-vin

Last version Coverage Status NPM Status

Tesla Vehicle Identification Number (VIN) implemented following Model S/3/X/Y service manuals.

Install

$ npm install tesla-vin --save

Usage

const teslaVIN = require('tesla-vin')

const vinDecoded = teslaVIN('5YJ3F7EA2LF656311')

console.log(vinDecoded)
// {
//   bateryType: 'Nickel Manganese Cobalt (NMC)',
//   bodyType: 'Sedan 4 DR / RHD',
//   model: 'Tesla Model 3',
//   motor: 'Single Motor Standard (3DU 800A)',
//   photos: [
//     'https://cdn.jsdelivr.net/gh/teslahunt/tesla-vin@master/images/3/1.jpeg',
//     'https://cdn.jsdelivr.net/gh/teslahunt/tesla-vin@master/images/3/2.jpeg',
//     'https://cdn.jsdelivr.net/gh/teslahunt/tesla-vin@master/images/3/3.jpeg',
//     'https://cdn.jsdelivr.net/gh/teslahunt/tesla-vin@master/images/3/4.jpeg',
//     'https://cdn.jsdelivr.net/gh/teslahunt/tesla-vin@master/images/3/5.jpeg',
//   ],
//   plantOfManufacture: 'Tesla Fremont, California (USA)',
//   restraintSystems: 'Type 2 Manual seatbelts (FR, SR*3) with front Airbags, side Inflatable restraints',
//   sequenceNumber: 656311,
//   worldManufacturingIdentifier: 'Fremont, California',
//   year: 2020,
// }

License

tesla-vin © Tesla Hunt, released under the MIT License.
Authored and maintained by Tesla Hunt with help from contributors.

teslahunt.io · GitHub Tesla Hunt · Twitter @teslahunt

Package Sidebar

Install

npm i tesla-vin

Weekly Downloads

172

Version

0.0.11

License

MIT

Unpacked Size

20.7 kB

Total Files

14

Last publish

Collaborators

  • kikobeats