Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.mjs 309B

12345678910111213
  1. // Bootstrap cliui with CommonJS dependencies:
  2. import { cliui } from './build/lib/index.js'
  3. import { wrap, stripAnsi } from './build/lib/string-utils.js'
  4. export default function ui (opts) {
  5. return cliui(opts, {
  6. stringWidth: (str) => {
  7. return [...str].length
  8. },
  9. stripAnsi,
  10. wrap
  11. })
  12. }