devsite/node_modules/@isaacs/cliui/index.mjs

15 lines
299 B
JavaScript
Raw Permalink Normal View History

2024-07-08 01:49:38 +00:00
// Bootstrap cliui with ESM dependencies:
import { cliui } from './build/lib/index.js'
import stringWidth from 'string-width'
import stripAnsi from 'strip-ansi'
import wrap from 'wrap-ansi'
export default function ui (opts) {
return cliui(opts, {
stringWidth,
stripAnsi,
wrap
})
}