1.0.1 • Published 8 years ago

gashlycrumb v1.0.1

Weekly downloads
70
License
MIT
Repository
github
Last release
8 years ago

Gashlycrumb Tinies

Gashlycrumb Tinies, by Edward Gorey

Insert a little Gorey into your day, and your day will be better.

Usage

There are two ways to use this.

Line Generator

You can use this to generate the lines of the poem. Amy will follow Zillah.

var tinies = require('gashlycrumb').read();

tinies.next(); // "A is for AMY who fell down the stairs"
tinies.next(); // "B is for BASIL assaulted by bears"

Connect-based handler

You can also drop in a handler for any connect-based frameworks, like Restify or Express. Anything that uses a (req, res, next) signature.

var gashlycrumb = require('gashlycrumb');
app.get('/gashlycrumb', gashlycrumb.handler());

Info

Don't sue me, bro. Everyone should definitely purchase the wonderful book by Edward Gorey.