bmkg

1.0.3 • Public • Published

bmkg.js

Build Status codecov Latest Stable Version License NPM Downloads NPM Downloads

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.

Why this package exists

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.

Usage

Check out examples folder on how to use (it's super simple)

Installation

The package is available at NPM repository.

npm install bmkg
# or 
yarn add bmkg

Test

Clone the repository and run the following command:

npm test

Roadmap

  • Browser version

Limitations

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.

License

The source code is licensed under MIT.

All weather and earthquake data are sourced directly from BMKG.

© 2019 Dwi Rizki Irawan

Readme

Keywords

none

Package Sidebar

Install

npm i bmkg

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

37.3 kB

Total Files

17

Last publish

Collaborators

  • drizki