How can I get the length of a video in node.js
<p>My backend needs to check to see if a video is under 60 seconds, or else it doesn't add the link to the database. Is there any easy solution if I have the file on disk? Something simple like videofile.getDuration()</p>

<p>I checked out FFMEG on npm but I'm not sure if that's what I need or if that's even up to date. </p>