This package has been deprecated

Author message:

Please migrate to https://github.com/antfu/shikiji

shiki-es
TypeScript icon, indicating that this package has built-in type declarations

0.14.0 • Public • Published

shiki-es

Standalone build of shiki fully compatible with all ESM environments.

Usage

Install:

#pnpm
pnpm i shiki-es

# npm
npm i shiki-es

# yarn
yarn add shiki-es
import { getHighlighter } from "shiki-es";

const highlighter = await getHighlighter({ theme: "nord" });

console.log(highlighter.codeToHtml(`console.log('shiki');`, { lang: "js" }));

License

MIT

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i shiki-es

    Weekly Downloads

    55,628

    Version

    0.14.0

    License

    MIT

    Unpacked Size

    16.5 MB

    Total Files

    399

    Last publish

    Collaborators

    • danielroe
    • pi0