(value)
| 21 | } |
| 22 | |
| 23 | function parseBoolean (value) { |
| 24 | if (typeof value === 'string') { |
| 25 | return !['false', '0', 'no', 'off', ''].includes(value.toLowerCase()) |
| 26 | } |
| 27 | return Boolean(value) |
| 28 | } |
| 29 | |
| 30 | function supportsAnsi () { |
| 31 | return process.stdout.isTTY // && process.env.TERM !== 'dumb' |
no outgoing calls
no test coverage detected
searching dependent graphs…