mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-10-03 22:33:43 +02:00
![]() Bumps [axios](https://github.com/axios/axios) from 1.9.0 to 1.12.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.9.0...v1.12.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.12.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
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