react-threat-map 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@ Animated cyberattack threats on a static world map, for React. Aggregates attack
|
|
|
8
8
|
origin region — with **US states as first-class origins** — so a busy feed reads as a
|
|
9
9
|
map instead of a hairball.
|
|
10
10
|
|
|
11
|
+
**[→ Live demo](https://bogdantaranenko.github.io/react-threat-map/)**
|
|
12
|
+
|
|
11
13
|
```tsx
|
|
12
14
|
import { ThreatMap } from 'react-threat-map';
|
|
13
15
|
|
|
@@ -598,9 +600,14 @@ Alongside it:
|
|
|
598
600
|
|
|
599
601
|
## Examples
|
|
600
602
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
603
|
+
**[bogdantaranenko.github.io/react-threat-map](https://bogdantaranenko.github.io/react-threat-map/)** —
|
|
604
|
+
the demo below, hosted. Deployed from `main` on every push.
|
|
605
|
+
|
|
606
|
+
It covers basic usage, 500+ streaming attacks with a live FPS counter, one country under
|
|
607
|
+
fire from five origins at different volumes, aggregation strategies side by side, custom
|
|
608
|
+
theming with render hooks, and raw-coordinate reverse geocoding with hover.
|
|
609
|
+
|
|
610
|
+
To run it locally against the library source, so edits hot-reload:
|
|
604
611
|
|
|
605
612
|
```bash
|
|
606
613
|
git clone https://github.com/BogdanTaranenko/react-threat-map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-threat-map",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A React component that renders animated cyberattack threats on a static world map, with intelligent per-region aggregation and first-class US state support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|