New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

shiki-es

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shiki-es

Standalone build of shiki fully compatible with all ESM environments.

0.1.0
Source
npm
Version published
Weekly downloads
50K
8.31%
Maintainers
1
Weekly downloads
 
Created
Source

shiki-es

bundle size

Standalone build of shiki fully compatible with all ESM environments.

Usage

Install:

# 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

FAQs

Package last updated on 15 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts