Skip to content
New issue

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

parseTorrent.toMagnetURI is not a function #126

Open
T1MOXA opened this issue Dec 27, 2022 · 0 comments
Open

parseTorrent.toMagnetURI is not a function #126

T1MOXA opened this issue Dec 27, 2022 · 0 comments

Comments

@T1MOXA
Copy link

T1MOXA commented Dec 27, 2022

What version of this package are you using?
10.0.1

What operating system, Node.js, and npm version?
Ubuntu 22.04.1 LTS
Node v19.3.0
NPM 9.2.0

What happened?
If I use toMagnetURI like documentation says, I get parseTorrent.toMagnetURI is not a function
Bui if I import like this:
import { toMagnetURI } from 'parse-torrent';
Function works just fine.

What did you expect to happen?
So can you fix the documentation, or code, to make it work properly.

Are you willing to submit a pull request to fix this bug?

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

No branches or pull requests

1 participant