file-age-string
v0.0.1
Published
get a human-friendly string describing the age of a file [or time since last modified]
Downloads
1
Maintainers
Readme
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