estimate-twitter-age
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i estimate-twitter-age

Weekly Downloads

1

Version

2.0.0

License

LIL

Last publish

Collaborators

  • rich_harris