
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
Simple time ago/from now date generator.
var toDate = require('to-date');
toDate(1).day.ago;
toDate(1).day.fromNow;
toDate(1).day.from.now;
toDate(2).hours.ago;
toDate(2).hours.fromNow;
toDate(2).hours.from.now;
toDate(3).months.ago;
toDate(3).months.fromNow;
toDate(3).months.from.now;
toDate(4).years.ago;
toDate(4).years.fromNow;
toDate(4).years.from.now;
toDate('1 day from now');
toDate('2 months from now');
toDate('11 years from now');
toDate('1 day ago');
toDate('2 months ago');
toDate('11 years ago');
npm install to-date
MIT License
FAQs
Simple time ago/from now date generator
The npm package to-date receives a total of 1 weekly downloads. As such, to-date popularity was classified as not popular.
We found that to-date demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.