Real-time earthquake monitoring for China, Taiwan, and Japan. CENC/CWA/JMA WebSocket data with proactive alert support.
Real-time earthquake monitoring for China, Taiwan, and Japan.
| Source | Region | Description |
|---|---|---|
| CENC | 🇨🇳 China | China Earthquake Networks Center |
| CWA | 🇹🇼 Taiwan | Central Weather Administration |
| JMA | 🇯🇵 Japan | Japan Meteorological Agency |
// Get all earthquakes
getAll()
// Get by source
getCENC()
getJMA()
getCWA()
// First time setup
init({ location: "大理" })
// Start proactive monitoring
start({ interval: 60000 })
// Stop monitoring
stop()
| Option | Default | Description |
|---|---|---|
| location | 大理 | Monitoring city |
| distanceThreshold | 300 | Alert distance (km) |
| minMagnitude | 3.0 | Minimum magnitude |
| interval | 60000 | Check interval (ms) |
大理、昆明、北京、上海、广州、深圳、成都、重庆、杭州、西安、南京、武汉、台北、东京、首尔等 40+ cities.
ZIP package — ready to use