@digitransit-search-util/digitransit-search-util-get-json
getJson
Return Promise for a url json get request
Parameters
Examples
digitransit-search-util.getJson(param1, param2);
//=response
Returns Object response
This module is part of the Digitransit-ui project. It is maintained in the HSLdevcom/digitransit-ui repository, where you can create PRs and issues.
Installation
Install this module individually:
$ npm install @digitransit-search-util/digitransit-search-util-get-json
Or install the Digitransit-util module that includes it as a function:
$ npm install @digitransit-util/digitransit-util