@nolebase/ui-asciinema

Wrapper of `asciinema-player` for VitePress documentation sites.
4,120 322
Install
npm install @nolebase/ui-asciinema
Latest Version:2.21.1
Vue:3
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: nekomeowww

@nolebase/ui-asciinema

Wrapper of asciinema-player for VitePress documentation sites.

[!CAUTION]

This package is in Alpha stage.

This package is still in the Alpha stage, and it is not recommended to use it in production. The API may change in the future, and there may be bugs in the current version. Please use it with caution.

[!IMPORTANT]

You will need to add the package to Vite's ssr.noExternal config [^1]. Without it your site may not build.

// vite.config.ts
export default defineConfig({
  vite: {
    ssr: {
      noExternal: [
        "@nolebase/ui-asciinema",
      ],
    },
  },
})

[^1]: https://github.com/nolebase/integrations/blob/HEAD/Vite's ssr.noExternal config docs: https://vitejs.dev/guide/ssr.html#ssr-externals.

Install

Npm

npm i @nolebase/ui-asciinema -D

Yarn

yarn add @nolebase/ui-asciinema -D

Pnpm

pnpm add @nolebase/ui-asciinema -D

Documentation

Please refer to Asciinema Player package's documentation site for more information.

Related Packages

Version History

Version Released Vue License
2.21.1 >=3.5.43 MIT
2.21.0 >=3.5.43 MIT
2.18.2 >= 3.5.18 MIT
2.18.1 >= 3 MIT
2.18.0 3.5.17 MIT