parse-torrent icon indicating copy to clipboard operation
parse-torrent copied to clipboard

parseTorrent.toMagnetURI is not a function

Open T1MOXA opened this issue 3 years ago • 0 comments

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?

T1MOXA avatar Dec 27 '22 21:12 T1MOXA