()
| 205 | } |
| 206 | |
| 207 | function defaultOptions() { |
| 208 | return { |
| 209 | chars: { |
| 210 | top: '─', |
| 211 | 'top-mid': '┬', |
| 212 | 'top-left': '┌', |
| 213 | 'top-right': '┐', |
| 214 | bottom: '─', |
| 215 | 'bottom-mid': '┴', |
| 216 | 'bottom-left': '└', |
| 217 | 'bottom-right': '┘', |
| 218 | left: '│', |
| 219 | 'left-mid': '├', |
| 220 | mid: '─', |
| 221 | 'mid-mid': '┼', |
| 222 | right: '│', |
| 223 | 'right-mid': '┤', |
| 224 | middle: '│', |
| 225 | }, |
| 226 | truncate: '…', |
| 227 | colWidths: [], |
| 228 | rowHeights: [], |
| 229 | colAligns: [], |
| 230 | rowAligns: [], |
| 231 | style: { |
| 232 | 'padding-left': 1, |
| 233 | 'padding-right': 1, |
| 234 | head: ['red'], |
| 235 | border: ['grey'], |
| 236 | compact: false, |
| 237 | }, |
| 238 | head: [], |
| 239 | }; |
| 240 | } |
| 241 | |
| 242 | function mergeOptions(options, defaults) { |
| 243 | options = options || {}; |
no outgoing calls
no test coverage detected
searching dependent graphs…