This package has been deprecated

Author message:

No longer supported

endure

0.0.2 • Public • Published

Endure

Get accurate duration for local or remote audio files, without needing to download or access the entire file.

Dependencies

Requires ffmpeg to be installed, as endure uses the bundled ffprobe tool.

Usage

const endure = require('endure');

endure.getDuration('<file/path/url>', (err, duration) => {
    
    if (err) {
        console.log(err.message);
    };

    console.log(duration);
});

Package Sidebar

Install

npm i endure

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • npm