{"id":22261383,"url":"https://github.com/adaptant-labs/vin-decoder-dart","last_synced_at":"2025-10-10T20:11:18.040Z","repository":{"id":55915222,"uuid":"179065248","full_name":"adaptant-labs/vin-decoder-dart","owner":"adaptant-labs","description":"A VIN decoding, validation, and generation library for Dart.","archived":false,"fork":false,"pushed_at":"2024-06-09T21:56:38.000Z","size":45,"stargazers_count":35,"open_issues_count":5,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T18:12:51.311Z","etag":null,"topics":["dart-library","iso-3779","iso-3780","nhtsa","vin","vin-decoder"],"latest_commit_sha":null,"homepage":"https://pub.dartlang.org/packages/vin_decoder","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adaptant-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-02T11:40:52.000Z","updated_at":"2025-03-08T09:14:31.000Z","dependencies_parsed_at":"2024-06-19T05:15:46.059Z","dependency_job_id":null,"html_url":"https://github.com/adaptant-labs/vin-decoder-dart","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0714285714285714,"last_synced_commit":"717aaf674bd9200b4a93e10e52dcea4fb565da19"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/adaptant-labs/vin-decoder-dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fvin-decoder-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fvin-decoder-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fvin-decoder-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fvin-decoder-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adaptant-labs","download_url":"https://codeload.github.com/adaptant-labs/vin-decoder-dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fvin-decoder-dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005261,"owners_count":26083860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart-library","iso-3779","iso-3780","nhtsa","vin","vin-decoder"],"created_at":"2024-12-03T09:12:37.445Z","updated_at":"2025-10-10T20:11:18.023Z","avatar_url":"https://github.com/adaptant-labs.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"vin-decoder-dart\n================\n\n[![Build Status](https://travis-ci.com/adaptant-labs/vin-decoder-dart.svg?branch=master)](https://app.travis-ci.com/github/adaptant-labs/vin-decoder-dart)\n[![Pub](https://img.shields.io/pub/v/vin_decoder.svg)](https://pub.dartlang.org/packages/vin_decoder)\n\nA VIN decoding, validation, and generation library for Dart.\n\n`vin_decoder` provides a simple decoding and validation library for Vehicle Identification Numbers (VINs) based on\nISO 3779:2009 and World Manufacturer Identifiers (WMIs) based on ISO 3780:2009. It further supports generation of\nsynthetic VINs derived from valid WMIs.\n\nThe decoder can be used standalone in an offline mode (the default behaviour, as per earlier versions of the API), or\ncan be further enriched by querying additional VIN information from the [NHTSA Vehicle API][nhtsa], such as the precise\nmake, model, and vehicle type in extended mode. Note that synthetic VINs will fail lookup in the NHTSA API, and should\nonly be used for experimentation.\n\n[nhtsa]: https://vpic.nhtsa.dot.gov/api/Home\n  \n## Usage\n\nA simple usage example:\n\n```dart\nimport 'package:vin_decoder/vin_decoder.dart';\n\nvoid main() async {\n  var vin = VIN(number: 'WP0ZZZ99ZTS392124', extended: true);\n\n  print('WMI: ${vin.wmi}');\n  print('VDS: ${vin.vds}');\n  print('VIS: ${vin.vis}');\n\n  print(\"Model year is \" + vin.modelYear());\n  print(\"Serial number is \" + vin.serialNumber());\n  print(\"Assembly plant is \" + vin.assemblyPlant());\n  print(\"Manufacturer is \" + vin.getManufacturer());\n  print(\"Year is \" + vin.getYear().toString());\n  print(\"Region is \" + vin.getRegion());\n  print(\"VIN string is \" + vin.toString());\n\n  // The following calls are to the NHTSA DB, and are carried out asynchronously\n  var make = await vin.getMakeAsync();\n  print(\"Make is ${make}\");\n\n  var model = await vin.getModelAsync();\n  print(\"Model is ${model}\");\n\n  var type = await vin.getVehicleTypeAsync();\n  print(\"Type is ${type}\");\n\n  var generated = VINGenerator().generate();\n  print('Randomly Generated VIN is ${generated}');\n}\n```\n\nwhich produces the following:\n\n```shell script\nWMI: WP0\nVDS: ZZZ99Z\nVIS: TS392124\nModel year is T\nSerial number is 92124\nAssembly plant is S\nManufacturer is Porsche\nYear is 1996\nRegion is EU\nVIN string is WP0ZZZ99ZTS392124\nMake is Porsche\nModel is 911\nType is Passenger Car\nRandomly Generated VIN is NM4BW3NK0WA418856\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/adaptant-labs/vin-decoder-dart/issues\n\n## License\n\nLicensed under the terms of the Apache 2.0 license, the full version of which can be found in the\n[LICENSE](https://raw.githubusercontent.com/adaptant-labs/vin-decoder-dart/master/LICENSE)\nfile included in the distribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptant-labs%2Fvin-decoder-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadaptant-labs%2Fvin-decoder-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptant-labs%2Fvin-decoder-dart/lists"}