gempa-id-info
v1.0.5
Published
The package for picking up earthquake and covid information from Indonesia
Downloads
12
Maintainers
Readme
gempa-id-info
Basic Code:
let bmkg_info = require('gempa-id-info')
bmkg_info.latestGempa().then(data => {
console.log(data) // Returns JSON
})
bmkg_info.listOfTopFifteenGempa().then(data => {
console.log(data) // Returns JSON
})
bmkg_info.covidCountIndonesia().then(data => {
console.log(data) // Returns JSON
})