@meterapp/vehicle-db 2.17.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -11
- package/dist/data.js +1 -1
- package/dist/identity-data.js +1 -1
- package/dist/identity.d.ts +7 -0
- package/dist/resolve.js +5 -2
- package/dist/search.js +5 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
An offline, international vehicle make/model catalog for Node.js and TypeScript. The package combines U.S. model-year data, the UK registered fleet, the European Union's new car and van registration register, the daily-updated Dutch vehicle register, Asian-origin vehicles registered in New Zealand, Malaysian registration transactions, Brazil's national vehicle register, an Indian manufacturer catalog, the Brazil-exclusive Hyundai HB20 family, recent U.S. model configurations from FuelEconomy.gov, and reviewed manufacturer body derivatives and Saudi model-year evidence into one small, zero-dependency API. It never makes runtime network requests.
|
|
8
8
|
|
|
9
|
-
The current snapshot spans **1990–2027** and includes **1,
|
|
9
|
+
The current snapshot spans **1990–2027** and includes **1,608 makes** and **42,294 models** in **196,745 model years**, from **23 data sources**. Those are distinct vehicles by name, with case, accents and punctuation normalized while preserving the distinct 03+ badge, which is how the [Car Image API](https://carimage.dev/cars?ref=catalog) counts and lists them. The package's own records number more (1,620 makes from `getMakes()`), because sources spell some makes and models more than one way (`MOTO GUZZI` and `MOTO-GUZZI`) and a few makes have no model in these years; see [Snapshot stats](#snapshot-stats).
|
|
10
10
|
|
|
11
11
|
The catalog covers seven vehicle types: **Motorcycle**, **Passenger Car**, **Truck**, **Bus**, **Multipurpose Passenger Vehicle (MPV)**, **Auto Rickshaw**, and **Other Vehicle**. The European source adds continental models from Dacia, Cupra, DS, Lynk & Co, Alpine, and the Chinese brands entering Europe such as BYD, MG, Omoda, Xpeng, and Nio, as sold in the EU rather than the UK or U.S. The Dutch register keeps that coverage current: vehicles first registered this year appear within days, so 2026 models such as the BYD Atto 2 and Renault 5 E-Tech are already listed. The Asia-Pacific sources add Japanese domestic and kei models, Chinese EVs, Indian and Korean vehicles, Southeast Asian makes such as Perodua and Proton, and additional motorcycles and commercial vehicles. The Brazilian register adds the cars and motorcycles that fill Brazil's roads but are rarely sold elsewhere, such as the Fiat Argo, Mobi and Toro, the Volkswagen Gol and Saveiro, the Renault Kwid, and the Honda Biz and Pop.
|
|
12
12
|
|
|
@@ -179,7 +179,7 @@ if (result.status === "MATCHED") {
|
|
|
179
179
|
}
|
|
180
180
|
```
|
|
181
181
|
|
|
182
|
-
Queries use an optional leading year, followed by make and full model phrase. With `makeId`, the make can be omitted. Only exact normalized phrases and reviewed aliases resolve; autocomplete/fuzzy candidates never silently become resolved identities. Unknown suffixes remain `UNRESOLVED_TOKENS`. Options also include `year`, `vehicleTypeId`, and `sourceId`.
|
|
182
|
+
Queries use an optional leading year, followed by make and full model phrase. Reviewed make aliases `Hero MotoCorp` and `Maruti Suzuki` require `market: "IN"`; category labels such as `Honda Scooters` are not discarded. With `makeId`, the make can be omitted. Only exact normalized phrases and reviewed aliases resolve; autocomplete/fuzzy candidates never silently become resolved identities. Unknown suffixes remain `UNRESOLVED_TOKENS`. Options also include `year`, `vehicleTypeId`, and `sourceId`.
|
|
183
183
|
|
|
184
184
|
`depth` defaults to `catalog`: a match at this depth establishes catalog presence only, with the source's documented year semantics. Request `generation`, `derivative`, or `visual` for stricter evidence. The curated identity graph is intentionally sparse: most catalog rows return `GENERATION_UNRESOLVED` at visual depth. `MATCHED` includes a `selection`; all results include `candidates`, `unresolvedTokens`, and the identity revision. Missing market/year context cannot satisfy restricted evidence, and overlapping generations remain ambiguous. No nearby year is substituted.
|
|
185
185
|
|
|
@@ -298,7 +298,7 @@ Model results contain `years` and a year-specific `variants` array. Make results
|
|
|
298
298
|
| [Changan official sales/configuration catalog](https://www.changan.com.cn/dealer_inquiry) | Active Chinese-market families, with Saudi and Mexican regional evidence retained; separate catalog-year and explicit model-year snapshots | Source attribution; factual product names only |
|
|
299
299
|
| [SGMW official sales catalogs](https://www.sgmw.com.cn/mobile/wulingRedBadge) | On-sale Wuling and Baojun models in China, with Indonesian Wuling evidence retained; separate catalog-year and explicit model-year snapshots | Source attribution; factual product names only |
|
|
300
300
|
| [Bajaj global country catalogs](https://www.bajajauto.com/global) | Indian and accessible export-market passenger/cargo three-wheelers and four-wheel Qute; observed calendar-year catalog | Source attribution; factual product names only |
|
|
301
|
-
| [Reviewed dated manufacturer market catalogs](https://lynkco.com.vn/en) | Individually documented
|
|
301
|
+
| [Reviewed dated manufacturer market catalogs](https://lynkco.com.vn/en) | Individually documented dated or explicitly retrieved catalog observations in Vietnam, India, China and the United States; includes regional MPVs, Indian cars, motorcycles, scooters, trucks and buses, and announced Torcal | Source attribution; factual product names only |
|
|
302
302
|
|
|
303
303
|
Year means the source’s model year for NHTSA, year of manufacture for DfT/DVLA (falling back to year of first use when manufacture year is unavailable), catalog year for Atul Auto, vehicle year for NZTA, registration year for Malaysia JPJ, the reporting (registration) year for the EEA register, the year of first admission (first registration anywhere, so imported used vehicles keep their original year) for the Dutch RDW register, the year of manufacture on the registration certificate (ano de fabricação) for the Brazilian SENATRAN register, the Brazilian model year (ano/modelo) for the Hyundai Motor Brasil line-up, and the U.S. model year for FuelEconomy.gov. From 2007 onward, NZTA vehicle year means the year of first registration in New Zealand or overseas. Registration sources are evidence that a make/model was present in that market and do not guarantee a factory model-year designation. Source filters let applications choose the semantics appropriate for their workflow.
|
|
304
304
|
|
|
@@ -331,24 +331,35 @@ New coverage in 2.16.0 adds 22 year/model/type records: seven consistently label
|
|
|
331
331
|
|
|
332
332
|
Broad catalogs in 2.17.0 replace individual Changan/Wuling/Bajaj regional edits with `npm run refresh:manufacturer-catalogs`. Five source snapshots separate official active sales catalogs from explicitly labeled model years: Changan (including separate CHANGAN NEVO), SGMW (separate WULING and BAOJUN), and Bajaj country catalogs. They add 73 selections while retaining all published IDs and legacy source filters. Manufacturer evidence, reviewed translation/body mappings, and manual discovery indexes are retained outside the runtime bundle; see [broad-manufacturer-catalogs.md](docs/broad-manufacturer-catalogs.md).
|
|
333
333
|
|
|
334
|
+
Indian catalogs in 2.19.0 add five sales-catalog snapshots refreshed with `npm run refresh:india`. Exact reviewed links/headings/selectors preserve model suffixes and published make IDs; their 2026 years mean observed calendar-year catalog presence. Broad dated portfolios refresh with `npm run refresh:india-history` into those same sources: Mahindra, Honda, Yamaha, MG and Ola establish individually evidenced 2020–2025 calendar years. Four Tata 2025 portfolio facts, three Ather 2024 sales facts and two individual Ciaz 2023–2024 sales facts use the existing reviewed catalog source. Historical manuals, fiscal-year periods and successor names do not create guessed year ranges or image-sharing permissions. Source mappings, original names, URLs and retrieval hashes stay outside the runtime bundle; see [the historical source review](docs/indian-historical-catalogs.md).
|
|
335
|
+
|
|
334
336
|
## Factory colors
|
|
335
337
|
|
|
336
338
|
Factory paint availability is not included. The NZTA and Malaysia records contain the observed basic color of each registered vehicle, not the manufacturer’s stock colors for a make/model/year. Treating those fields as factory availability would produce false positives from repaints, imports, and broad color categories, so the importers intentionally omit them. A future color API should require manufacturer-backed paint options with explicit market and model-year provenance.
|
|
337
339
|
|
|
340
|
+
New coverage in 2.18.0 adds 112 sourced year/model/type records and four makes (Ather, Eicher, Ashok Leyland and Ola Electric), with explicit catalog-year versus model-year evidence. Lexus LX 600 F Sport and China LX 570 Peak Edition gain separate specification and exterior identities; G60 queries link the existing BMW sedan ID. Generic families, missing years and markets, and unverified suffixes remain unresolved at visual depth. See [coverage acceptance criteria](docs/coverage-expansion-2026-10.md).
|
|
341
|
+
|
|
342
|
+
| [TVS Indian sales catalog](https://www.tvsmotor.com/Our-Products/Vehicles) | 27 reviewed product/family selections observed in 2026; motorcycles, scooters and passenger/cargo three-wheelers | Source attribution; factual product names only |
|
|
343
|
+
| [Hero Indian motorcycle catalog](https://www.heromotocorp.com/en-in/motorcycles.html) | 18 reviewed motorcycle selections observed in 2026 under the preserved HERO MOTOCORP LTD make ID | Source attribution; factual product names only |
|
|
344
|
+
| [Indian commercial manufacturer catalogs](data/evidence/manufacturer-catalogs/india-commercial.json) | 32 dated Tata, Ashok Leyland and Eicher product/family selections; goods vehicles remain distinct from buses | Source attribution; factual product names only |
|
|
345
|
+
| [Indian passenger-car sales catalogs](data/evidence/manufacturer-catalogs/india-passenger.json) | 55 reviewed current/historical product/family selections across Indian-market manufacturers; individually evidenced calendar years | Source attribution; factual product names only |
|
|
346
|
+
| [Other Indian two-wheeler sales catalogs](data/evidence/manufacturer-catalogs/india-two-wheelers.json) | 72 current/historical Bajaj, Honda, KTM, Suzuki, Royal Enfield, Yamaha, Harley-Davidson and Ola selections | Source attribution; factual product names only |
|
|
347
|
+
|
|
348
|
+
|
|
338
349
|
## Snapshot stats
|
|
339
350
|
|
|
340
351
|
| | |
|
|
341
352
|
|---|---:|
|
|
342
353
|
| Years | 1990–2027 |
|
|
343
|
-
| Sources |
|
|
354
|
+
| Sources | 23 |
|
|
344
355
|
| Vehicle types | 7 |
|
|
345
|
-
| Makes | 1,
|
|
346
|
-
| Models | 42,
|
|
347
|
-
| Model years | 196,
|
|
348
|
-
| Make records (`getMakes()`) | 1,
|
|
349
|
-
| Model records (distinct `modelId`) | 46,
|
|
350
|
-
| Model-year records (`getModels()`) |
|
|
351
|
-
| Bundled TypeScript data | 7.
|
|
356
|
+
| Makes | 1,608 |
|
|
357
|
+
| Models | 42,294 |
|
|
358
|
+
| Model years | 196,745 |
|
|
359
|
+
| Make records (`getMakes()`) | 1,620 |
|
|
360
|
+
| Model records (distinct `modelId`) | 46,796 |
|
|
361
|
+
| Model-year records (`getModels()`) | 218,242 |
|
|
362
|
+
| Bundled TypeScript data | 7.58 MB |
|
|
352
363
|
|
|
353
364
|
## Refreshing and rebuilding
|
|
354
365
|
|