mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2026-02-21 23:35:46 +01:00
|
|
||
|---|---|---|
| .. | ||
| index.js | ||
| LICENSE-AGPL.txt | ||
| LICENSE-EUPL.txt | ||
| package.json | ||
| README.md | ||
| test.js | ||
@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