From d11b60bbd1315ad29e0c080648a3b3dc1e25ffc4 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Mon, 10 Dec 2018 14:38:07 +0100 Subject: [PATCH] minor changes in readme, profile examples [ci skip] --- p/bvg/example.js | 2 +- p/cmta/example.js | 2 +- p/db/example.js | 2 +- p/insa/example.js | 2 +- p/nahsh/example.js | 2 +- p/oebb/example.js | 2 +- p/sbahn-muenchen/example.js | 2 +- p/vbb/example.js | 2 +- readme.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/p/bvg/example.js b/p/bvg/example.js index 26b5e02c..a7756044 100644 --- a/p/bvg/example.js +++ b/p/bvg/example.js @@ -41,6 +41,6 @@ client.journeys('900000003201', '900000024101', {results: 1, polylines: true}) // return client.refreshJourney(journey.refreshToken, {stopovers: true, remarks: true}) // }) .then((data) => { - console.log(require('util').inspect(data, {depth: null})) + console.log(require('util').inspect(data, {depth: null, colors: true})) }) .catch(console.error) diff --git a/p/cmta/example.js b/p/cmta/example.js index 178fe6f5..1a77100a 100644 --- a/p/cmta/example.js +++ b/p/cmta/example.js @@ -41,6 +41,6 @@ client.journeys('000002370', '000005919', {results: 1, polylines: true}) // }) .then((data) => { - console.log(require('util').inspect(data, {depth: null})) + console.log(require('util').inspect(data, {depth: null, colors: true})) }) .catch(console.error) diff --git a/p/db/example.js b/p/db/example.js index fe4d28f7..60e2e28d 100644 --- a/p/db/example.js +++ b/p/db/example.js @@ -28,5 +28,5 @@ client.journeys('8011167', '8000261', {results: 1, tickets: true}) // }) .then((data) => { - console.log(require('util').inspect(data, {depth: null})) + console.log(require('util').inspect(data, {depth: null, colors: true})) }, console.error) diff --git a/p/insa/example.js b/p/insa/example.js index 8d92c4fe..9af0cc76 100644 --- a/p/insa/example.js +++ b/p/insa/example.js @@ -34,6 +34,6 @@ client.journeys('008010226', '008013456', {results: 1}) // }) .then(data => { - console.log(require('util').inspect(data, { depth: null })) + console.log(require('util').inspect(data, {depth: null, colors: true})) }) .catch(console.error) diff --git a/p/nahsh/example.js b/p/nahsh/example.js index 16c285c9..9a684c4c 100644 --- a/p/nahsh/example.js +++ b/p/nahsh/example.js @@ -29,6 +29,6 @@ client.journeys('8000103', '8000199', {results: 10, tickets: true}) // }) .then((data) => { - console.log(require('util').inspect(data, {depth: null})) + console.log(require('util').inspect(data, {depth: null, colors: true})) }) .catch(console.error) diff --git a/p/oebb/example.js b/p/oebb/example.js index 30e829c1..196ac0b8 100644 --- a/p/oebb/example.js +++ b/p/oebb/example.js @@ -34,6 +34,6 @@ client.journeys('1291501', '8100002', {results: 1}) // }) .then((data) => { - console.log(require('util').inspect(data, {depth: null})) + console.log(require('util').inspect(data, {depth: null, colors: true})) }) .catch(console.error) diff --git a/p/sbahn-muenchen/example.js b/p/sbahn-muenchen/example.js index 87a5f75c..924c6eab 100644 --- a/p/sbahn-muenchen/example.js +++ b/p/sbahn-muenchen/example.js @@ -44,6 +44,6 @@ client.departures('8004154', {duration: 5}) // }) .then((data) => { - console.log(require('util').inspect(data, {depth: null})) + console.log(require('util').inspect(data, {depth: null, colors: true})) }) .catch(console.error) diff --git a/p/vbb/example.js b/p/vbb/example.js index 26b5e02c..a7756044 100644 --- a/p/vbb/example.js +++ b/p/vbb/example.js @@ -41,6 +41,6 @@ client.journeys('900000003201', '900000024101', {results: 1, polylines: true}) // return client.refreshJourney(journey.refreshToken, {stopovers: true, remarks: true}) // }) .then((data) => { - console.log(require('util').inspect(data, {depth: null})) + console.log(require('util').inspect(data, {depth: null, colors: true})) }) .catch(console.error) diff --git a/readme.md b/readme.md index 1a9c98c8..4908a5a4 100644 --- a/readme.md +++ b/readme.md @@ -185,7 +185,7 @@ The returned [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript - [`hafas-record-delays`](https://github.com/derhuerst/hafas-record-delays#hafas-record-delays) – Record delays from hafas-monitor-departures into a LevelDB. - [`hafas-estimate-station-weight`](https://github.com/derhuerst/hafas-estimate-station-weight#hafas-estimate-station-weight) – Pass in a HAFAS client, estimate the importance of a station. - [`observe-hafas-client`](https://github.com/derhuerst/observe-hafas-client) – Observe all departures/arrivals/etc. returned by `hafas-client`. -- [`hafas-client-rpc`](https://github.com/derhuerst/hafas-client-rpc) – Make JSON-RPC calls to `hafas-client` via WebSockets. +- [`hafas-client-rpc`](https://github.com/derhuerst/hafas-client-rpc) – Make JSON-RPC calls to `hafas-client` via WebSockets & stdio. - [`hafas-client-health-check`](https://github.com/derhuerst/hafas-client-health-check) – Check if a `hafas-client` instance and its endpoint work. - [`hafas-rest-api`](https://github.com/derhuerst/hafas-rest-api#hafas-rest-api) – Expose a HAFAS client via an HTTP REST API. - [List of european long-distance transport operators, available API endpoints, GTFS feeds and client modules.](https://github.com/public-transport/european-transport-operators)