This module is a wrapper around BMKG (Badan Meteorologi, Klimatologi, dan Geofisika) open data XML API. Please refer to this link to learn more about the official API.
BMKG offers data to the public using their open data initiative. Problem is, it only serves XML as the data output, no support for JSON or any other types.
Check out examples folder on how to use (it's super simple)
The package is available at NPM repository.
npm install bmkg
# or
yarn add bmkg
Clone the repository and run the following command:
npm test
- Browser version
Currently, this package only runs in node.js environment as it depends on node-fetch. I'll refactor the code and test it on different environments later.
The source code is licensed under MIT.
All weather and earthquake data are sourced directly from BMKG.
© 2019 Dwi Rizki Irawan