Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dtex/schiffer-ipsum

Funky dope technobabble
https://github.com/dtex/schiffer-ipsum

Last synced: 3 months ago
JSON representation

Funky dope technobabble

Awesome Lists containing this project

README

        

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);
````