Returns the last moditication date for a given path.
Want to see pretty graphs? Log in now!
npm install mtime
|4||downloads in the last month|
|Last Published By|
|Version||0.2.0 last updated 4 months ago|
Grabs the last modification date for a given path.
The modification date will be returned as a UNIX timestamp (in ms).
mtime('/path/to/file/or/directory', [recursive], callback). If recursive is set to
truethe timestamp of the last modified file within that directory (including the directory itself) will be returned.
mtime.sync('/path', [recursive]). Does a sync op to find out the last modification date of the given path. Will throw any error that occurs.