We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed withnpm install dohjs.
npm install dohjs.
import { DohResolver } from 'dohjs'; const resolver = new DohResolver('https://1.1.1.1/dns-query'); resolver.query('example.com', 'A')
and I get the error:
The text was updated successfully, but these errors were encountered:
I'm seeing the same thing when using a vue3 app that installs the packages with Vite.
Sorry, something went wrong.
What version of node/npm are you using? And can you provide any other details about your environment/how to reproduce?
It's likely because dohjs directly uses modules that are not on the browser. Try importing dohjs/dist/doh.min.js instead
dohjs/dist/doh.min.js
No branches or pull requests
Installed with
npm install dohjs.
and I get the error:
The text was updated successfully, but these errors were encountered: