Skip to content
Reports a given file's age (in days).
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
agedays.js

README.md

agedays.js

Reports a given file's age (in days).

Requirements

You must have Node.js installed.

See the “Installation” article in the Node's wiki for instructions.

Usage

node agedays "filename" [N]

Parameters:

  • filename — name of the file which age (in days) is reported

  • N (optional) — if the file is N days old (or older), errorlevel 1 is set

Example

screenshot

License

MIT License, see the LICENSE file.

Something went wrong with that request. Please try again.