Yepnope
Yepnope transforms yes/no answers into bools, very usefull for chatbots and command line tools.
Usage
require the lib using const yepnope = require('yepnoe')
var ok = 'yes' //ok.true === true var notok = 'nope' //notok.false === true
Example
{ var response = text; ifresponsetrue return 'thanks! i\'ll do that!'; ifresponsefalse return 'ups! i\'ll do something else then!'; if!responsefalse && !responsetrue return 'I don\'t understand!' }