UNPKG

@shikijs/engine-javascript

Version:

Engine for Shiki using JavaScript's native RegExp

13 lines (10 loc) 332 B
import { RegexEngine } from '@shikijs/types'; /** * Raw JavaScript regex engine that only supports precompiled grammars. * * This further simplifies the engine by excluding the regex compilation step. * * Zero dependencies. */ declare function createJavaScriptRawEngine(): RegexEngine; export { createJavaScriptRawEngine };