2.0.0 • Published 6 years ago

estimate-twitter-age v2.0.0

Weekly downloads
6
License
LIL
Repository
-
Last release
6 years ago

estimate-twitter-age

Given a Twitter user ID, estimate when the account was created.

npm install estimate-twitter-age

Usage

Command line

This command would estimate when my Twitter account was created:

eta 19487837

It will print something like 2009-01-25T00:06:44.000Z, because I've been on that site much too long. (The exact number may change, if the sample gets updated.)

JavaScript API

const estimate = require('estimate-twitter-age');
const timestamp = estimate(19487837));
const created = new Date(timestamp);

License

LIL