Skip to content

parseTorrent.toMagnetURI is not a function #126

@T1MOXA

Description

@T1MOXA

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions