flatiron/prompt — pull request #45 by alex-seville (2012-08-11 22:34:38+00:00)
Title: Validate that default value is string or numeric

Right now there is an implicit* validation done after the read (https://github.com/flatiron/prompt/blob/master/lib/prompt.js#L463), but I think it might be helpful to do an explicit validation beforehand.

* implicit only because it's not strictly testing the default value, unless the default is being returned