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

0.0.2 • Public • Published

shikey

Standalone build of shiki fully compatible with all ESM environments.

Install

pnpm add shikey
# yarn
yarn add shikey
# npm
npm i shikey

Usage

import { getHighlighter } from 'shikey'

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

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

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i shikey

Weekly Downloads

27

Version

0.0.2

License

MIT

Unpacked Size

14.1 MB

Total Files

334

Last publish

Collaborators

  • nberlette