Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including autocosts with all npm packages installed. Try it out:

var autocosts = require("autocosts")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

autocosts v5.0.6

Automobile Costs Calculator

Automobile costs calculator

This calculator allows users to find the true cost of owning a car. It will normally give them a good estimate of what they really need to spend on car ownership. As car payments and expenses come due throughout the year, it's often difficult to really get a good understanding of total spending on a car. By default, these values are calculated on a monthly basis.

This calculator is and shall be completely anonymous, as it doesn't request nor permanently store, any name, email, cookies, IP address nor any other personal information.

Website

https://autocosts.info
To test and play: https://autocosts.info/XX

The folder that corresponds to the website public HTML folder is src/. Nonetheless one must build it using the script build.sh creating therefore a build/ folder ready to be used as a main public HTML folder. For more information run ./build.sh -h.

The list of available countries

https://autocustos.info/list

The translations are in corresponding php files, namely in the folder src/countries/.
The list of available countries is from the file src/countries/list.php

The registered associated domains

https://autocosts.info/domains

Available services

The available services are defined in the global SWITCH JS object in the file Globals.js

Android APP

The Android APP can be found in Play Store. It uses Apache Cordova to convert JavaScript built code into APP built files (for example APK files in Android)

Contributions

  • Use four spaces for indentations
  • Always comment the code in English
  • Respect the folders structure

License

GNU GPLv3
http://www.gnu.org/licenses/gpl-3.0.en.html
http://choosealicense.com/licenses/gpl-3.0/

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free