christophe77 / osint-email

Gather informations from email adress
MIT License
2 stars 0 forks source link

osintEmail.search is not a function #1

Closed balhisyhrl closed 2 years ago

balhisyhrl commented 2 years ago

Hello, I'm using the same script as the example, but got an error like this

const response = await osintEmail.search(email);
                                      ^
TypeError: osintEmail.search is not a function
christophe77 commented 2 years ago

Sorry I made a mistake in the exemple. You should import the lib like this : const osintEmail = require('osint-email').default; I'll edit the readme