[ 原始碼: node-yn ]
套件:node-yn(4.0.0-1)
Parse yes/no like values - Node.js module
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.