New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

file-age-string

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-age-string

get a human-friendly string describing the age of a file [or time since last modified]

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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

  • s-ago

stonks

Keywords

file

FAQs

Package last updated on 17 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts