0.0.1 • Published 2 years ago
file-age-string v0.0.1
file-age-string
get a human-friendly string describing the age of a file or time since last modified
Installation
npm i file-age-string
Usage
var fas = require('file-age-string');
console.log(fas.fileAgeString('./my-file.txt'))
//"just now"
//"2 minutes ago"
//etc
See Also
0.0.1
2 years ago