Page to display "Modified by" and "Date of last modification" of the file in the file library

I have a .csv file in a file library, I would like to know if there is a way to display in a page the time when the .csv file was modified for the last one. time and who did it.

Does anyone know of code to get this information using javascript?