I am working on a module which uploads images, pdfs, audio and video files. I mainly covered all the validations in it but i am stuck at one point where i cannot detect the header of the video/audio file. It is when i change the type of any file, like changed the .JS to mp3 or mp4. Is there any packages in nodeJS which can detect the file signature or header?
Thanks in advance.
via Deepak Parmar
No comments:
Post a Comment