i want to get duration of audio file using nodejs for that i have two options get duration of audio file while upload from file buffer and get duration of remote audio file so which one is better and how to get duration of audio file using nodejs

New contributor

LJ CREATION is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.