Git Product home page Git Product logo

toyota-vin-decoder-tvd.js's Introduction

TVD (Toyota VIN Decoder)

vanilla JS

TVD is a JavaScript library that can be used to decode VIN numbers for Toyota vehicles.

The library provides the following information:

  • World Manufacturer Identifier WMI.
  • Vehicle Descriptor Section VDS.
  • Vehicle Indicator Section VIS.
  • Country of origin.
  • Manufacturer
  • Vehicle type (Truck, SUV, etc.)
  • Body (Sport Van, 4DR Wagon 2WD, etc.)
  • Age in years
  • Engine
  • Series (Applicable for Land Cruisers only)
  • Restraint (Safety equipments in the vehicle)
  • Model/Platform
  • Year
  • Plant

Installation

To use TVD, just add the script tag in your HTML file.

    <script src="vindecoder.min.js" charset="utf-8"></script>

For production environments...

    vinDecoder.report("JTEHT05J542053195")

Example

    var myVinReport = vinDecoder.report("4T1B11HK7JU026537")
    console.log(myVinReport)
    /**
        {
      "vin": "4T1B11HK7JU026537",
      "breakdown": {
        "WMI": "4T1",
        "VDS": "B11HK7",
        "VIS": "JU026537"
      },
      "origin": "USA",
      "manufacturer": "Toyota",
      "type": "Passenger Car",
      "body": "4DR Sedan 2WD / Standard Cab Truck, 4WD, Standard Bed, Full-Size Frame",
      "engine": "Unknown engine",
      "series": "N/A",
      "restraint": "Unknown",
      "model": "Camry / Aurion (TRD)",
      "year": "2018",
      "plant": "Georgetown, KY, US",
      "age": 0
    }
    **/

Development

Want to contribute? Great!

Todos

  • Add support for all Toyota VIN schemes
  • Get more info from the VIN

License

GNU GPL v3

toyota-vin-decoder-tvd.js's People

Contributors

abdelsalamshahlol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

toyota-vin-decoder-tvd.js's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.