You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
// 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
|
|
})
|
|
}
|