latest-tweets-modern

1.0.7 • Public • Published

latest-tweets made by: https://github.com/hackergrrl/

Credit Repo

This is a modified version of hackergrrls latest tweet nodejs module. Modified for easier use, and will be maintained.

Installing

npm i latest-tweets-modern

Example In House

(async () => {
  const latestTweets = new (require('../latest-tweet.js'))({
    skipPinnedTweets: true,
  });
  await latestTweets.getTweets('elonmusk', 5, async (err, tweets) => {
    console.log(tweets);
  });
})();

Example NPM

(async () => {
  const latestTweets = new (require('latest-tweets-modern'))({
    skipPinnedTweets: true,
  });
  await latestTweets.getTweets('elonmusk', 5, async (err, tweets) => {
    console.log(tweets);
  });
})();

Current Options

{ skippedPinnedTweets: boolean }

License

MIT

Package Sidebar

Install

npm i latest-tweets-modern

Weekly Downloads

2

Version

1.0.7

License

none

Unpacked Size

11.8 kB

Total Files

6

Last publish

Collaborators

  • isaacjuracich