Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/berlin-commute-footprint
Compare cost, environmental and health impact of commuting by car, public transport of bike.
https://github.com/derhuerst/berlin-commute-footprint
bike co2 commuting costs health public-transport transit transport
Last synced: 6 days ago
JSON representation
Compare cost, environmental and health impact of commuting by car, public transport of bike.
- Host: GitHub
- URL: https://github.com/derhuerst/berlin-commute-footprint
- Owner: derhuerst
- License: isc
- Created: 2017-06-20T01:12:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-19T04:04:03.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T00:46:04.858Z (about 1 month ago)
- Topics: bike, co2, commuting, costs, health, public-transport, transit, transport
- Language: JavaScript
- Homepage: https://github.com/derhuerst/berlin-commute-footprint
- Size: 21.5 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# berlin-commute-footprint
**Compare cost, environmental and health impact of commuting by car, public transport of bike.** Library behind [umsteigen.jetzt](https://umsteigen.jetzt), originally written by @juliuste.
*Note:* This library is a **work in progress** project! Although we tried to finde proper sources for the calculations, it is *not* scientifically verified.
[![npm version](https://img.shields.io/npm/v/berlin-commute-footprint.svg)](https://www.npmjs.com/package/berlin-commute-footprint)
[![build status](https://img.shields.io/travis/derhuerst/berlin-commute-footprint.svg)](https://travis-ci.org/derhuerst/berlin-commute-footprint)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/berlin-commute-footprint.svg)
[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)## Installing
```shell
npm install berlin-commute-footprint
```## Usage
```js
const vbb = require('vbb-client')
const footprint = require('berlin-commute-footprint')vbb.journeys('900000003201', '900000024101', {results: 1})
.then(([journey]) => footprint(journey))
.then(console.log, console.error)
``````js
// todo
```## Contributing
If you have a question or have difficulties using `berlin-commute-footprint`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/berlin-commute-footprint/issues).