4.0.0 • Published 10 years ago

wwwtxt v4.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

wwwtxt

Unix fortune, but with early internet posts

npm.io js-semistandard-style

Install

npm install -g wwwtxt

or

npm install wwwtxt

Usage

Global install

wwwtxt

Will print a random tweet.

wwwtxt --cow

Will print a random tweet using cowsay.

wwwtxt -n x

Will print the xth tweet. Can be combined with --cow. Out of bounds indices will silently print nothing.

Module install

var getRandomTweet = require('wwwtxt');

getTweet(1)
  .then((tweet) => {
    console.log(tweet);
  });

getRandomTweet()
  .then((tweet) => {
    console.log(tweet);
  });

Why?

So you can do this:

npm.io

or this:

npm.io

Source

wwwtxt

4.0.0

10 years ago

3.0.0

10 years ago

2.2.1

10 years ago

2.2.0

10 years ago

2.1.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago