0.0.2 • Published 7 years ago

endure v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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);
});