MCPcopy Index your code
hub / github.com/cli-table/cli-table3 / defaultOptions

Function defaultOptions

test/utils-test.js:184–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 });
183
184 function defaultOptions() {
185 return {
186 chars: {
187 top: '─',
188 'top-mid': '┬',
189 'top-left': '┌',
190 'top-right': '┐',
191 bottom: '─',
192 'bottom-mid': '┴',
193 'bottom-left': '└',
194 'bottom-right': '┘',
195 left: '│',
196 'left-mid': '├',
197 mid: '─',
198 'mid-mid': '┼',
199 right: '│',
200 'right-mid': '┤',
201 middle: '│',
202 },
203 truncate: '…',
204 colWidths: [],
205 rowHeights: [],
206 colAligns: [],
207 rowAligns: [],
208 style: {
209 'padding-left': 1,
210 'padding-right': 1,
211 head: ['red'],
212 border: ['grey'],
213 compact: false,
214 },
215 head: [],
216 };
217 }
218
219 describe('mergeOptions', function () {
220 it('allows you to override chars', function () {

Callers 1

utils-test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…