https://github.com/seanmcp/miles-per-year
🚗💨 Make used-car searching easier by adding a "miles per year" field to listings
https://github.com/seanmcp/miles-per-year
car chome-extension chrome used-cars
Last synced: about 2 months ago
JSON representation
🚗💨 Make used-car searching easier by adding a "miles per year" field to listings
- Host: GitHub
- URL: https://github.com/seanmcp/miles-per-year
- Owner: SeanMcP
- Created: 2019-04-02T13:51:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T15:27:48.000Z (about 6 years ago)
- Last Synced: 2025-02-10T06:41:41.088Z (4 months ago)
- Topics: car, chome-extension, chrome, used-cars
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Miles Per Year
🚗💨 Make used-car searching easier by adding a "miles per year" field to listings
## Works with
- AutoTrader.com
- Cars.com## Details
### Age
The age of a car is determined by finding the difference between the model year of the vehicle and the approximate current model year: the current year plus one (_e.g._ `currentModelYear = 2019 + 1`). This isn't bulletproof, but I think it's the [Occam's Razor](https://en.wikipedia.org/wiki/Occam%27s_razor) solution.### Rating
In the United State, cars are driven on average 13,500 miles per year ([US DOT FHWA, Mar. 2018](https://www.fhwa.dot.gov/ohim/onh00/bar8.htm)). Based on that figure, listings are given one of three possible ratings:Rating | Color | Calculation
---|---|---
Low | Green | `< average - 2000`
Average | Orange | `average +- 2000`
High | Red | `> average + 2000`---
Forked from: [How-to: Make your own text-replacing Chrome extension](https://9to5google.com/2015/06/14/how-to-make-a-chrome-extensions/) by [Tom Maxwell](https://twitter.com/tomaxwell)