Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

to-date

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-date

Simple time ago/from now date generator

npmnpm
Version
0.0.1
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source

NPM
version Build Status

to-date

Simple time ago/from now date generator.

Usage

from now

var toDate = require('to-date');
toDate('1 day from now');
toDate('2 months from now');
toDate('11 years from now');

ago

toDate('1 day ago');
toDate('2 months ago');
toDate('11 years ago');

Installation

npm install to-date

Tests

$ make test

License

MIT License

FAQs

Package last updated on 04 Feb 2014

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