Skip to content

usage inTypescript  #9

Description

@95deepan

How to use this module in typescript ? I got the following error when I imported mp3-duration in this way:
import * as mp3 from 'mp3-duration' Error: expecting a function but got [object Undefined]

How can I import the function directly ? Are there any methods to import from mp3-duration to get the duration of an mp3 file?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions