Get file modification time
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
ChangeLog
LICENSE
README.md
package.json

README.md

TimeM

Get file modification time.

Install

npm i timem --save

Hot to use

var time = require('timem');

time('/etc/passwd', function(error, time) {
    console.log(error || time);
}

time('/etc/passwd', 'raw', function(error, time) {
    console.log(error || time);
}

License

MIT