DominicFinn / node-random-fact

Output a random fact to the console.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random Fact

Make your build tasks a little more interesting, with a random fact!

Example

Installation

npm i --save random-fact

Usage

var fact = require('random-fact');
fact();

Gulp

gulp.task('random-fact', cb => {
  require('random-fact')();
  cb();
});

Webpack

Use the webpack plugin wrapper: https://github.com/Rhym/webpack-random-fact

ezoic increase your site revenue

About

Output a random fact to the console.

License:MIT License


Languages

Language:JavaScript 100.0%