Skip to content

Comments

Add named export for ESM compatibility#47

Merged
jonathan-kosgei merged 2 commits intomainfrom
claude/update-ipdata-api-W4FVR
Feb 23, 2026
Merged

Add named export for ESM compatibility#47
jonathan-kosgei merged 2 commits intomainfrom
claude/update-ipdata-api-W4FVR

Conversation

@jonathan-kosgei
Copy link
Collaborator

Fixes #41import { IPData } from 'ipdata' now works alongside the existing default export and require('ipdata').

https://claude.ai/code/session_01UabaLo3R3sXovyxaZo2yCF

claude and others added 2 commits February 23, 2026 07:40
Fixes #41 — `import { IPData } from 'ipdata'` now works alongside
the existing default export and `require('ipdata')`.

https://claude.ai/code/session_01UabaLo3R3sXovyxaZo2yCF
@jonathan-kosgei jonathan-kosgei merged commit cc30e55 into main Feb 23, 2026
2 checks passed
@jonathan-kosgei jonathan-kosgei deleted the claude/update-ipdata-api-W4FVR branch February 23, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IPData is not a constructor

2 participants