node-yn

Parse yes/no like values - Node.js module
  https://github.com/sindresorhus/yn
  0
  no reviews



This Node.js module parses strings with yes/no like values and returns a bool or undefined. It has options to return a default instead of undefined and a lenient mode to gracefully handle typos.

It can useful for validating answers of a CLI prompt.

Node.js is an event-based server-side JavaScript engine.