Skip to content
This repository was archived by the owner on Nov 23, 2020. It is now read-only.

jenrik/http-fortune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Fortune

HTTP Fortune adds random fortunes to all HTTP response headers. Make it fun for the person who wanna dig through your servers HTTP traffic.

Requirements

Node.js and a Express compatible application

Usage

Simple:

var fortune = require("http-fortune")(fortuneList);
app.use(fortune);

Note: fortuneList should be a array containing all possible fortunes, and app should be your Express application

About

Adds a random fortune to the HTTP header

Resources

License

Stars

Watchers

Forks

Packages

No packages published