Skip to content

dtex/schiffer-ipsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schiffer-ipsum

Lorum ipsum generator. Pass in a Medium.com author name and a callback and get an array of 5 paragraphs of varying length assembled from random sentences by that author.

###Installation###

npm install schiffer-ipsum

###Sample usage###

var http = require("http")
  , schiffer = require("schiffer-ipsum")
;

var server = http.createServer(function(req, res) {
  schiffer('jennschiffer', function(technoBabble) {
    res.writeHead(200, {
      'Content-Type': 'application/javascript',
      'vary': 'Accept-Encoding'
    });
    res.end('babble('+JSON.stringify(technoBabble)+')');
  });
});

server.listen(3000);

About

Funky dope technobabble

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published