npm

fancy-video-duration

1.0.7 • Public • Published

Fancy Video Duration

NodeJS Library to get video duration from buffer

Method Input Return Description
getDurationFromBuffer Buffer Number Return seconds in format 66.803
fancyTimeFormat Number String Return string time in format '1:07'
getVideoDuration Buffer String Return string time in format '1:07'

Package Sidebar

Install

npm i fancy-video-duration

Weekly Downloads

24

Version

1.0.7

License

ISC

Unpacked Size

37.5 kB

Total Files

4

Last publish

Collaborators

  • alejandrehl