Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 748 Bytes

File metadata and controls

37 lines (26 loc) · 748 Bytes

This fork is NOT available on npm, below downloads are of the project this was forked from, the downloads are NOT for this fork!!! This is a fork that instead of making a box with a random fact will return a string with the fact

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