forked from Fediversity/fediversity.eu
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
|
|
})
|
|
}
|