Commit ff4f0b7
committed
Add named export for ESM compatibility
Fixes #41 — `import { IPData } from 'ipdata'` now works alongside
the existing default export and `require('ipdata')`.
https://claude.ai/code/session_01UabaLo3R3sXovyxaZo2yCF1 parent df873f1 commit ff4f0b7
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
0 commit comments