Skip to content

112batman/node-random-fact

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Output a random fact to the console.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%