@dineug/erd-editor-shiki-worker
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

erd-editor-shiki-worker

Code highlighting task on sharedWorker

Install

npm install @dineug/erd-editor-shiki-worker

Usage

import { setGetShikiServiceCallback } from '@dineug/erd-editor';
import { getShikiService } from '@dineug/erd-editor-shiki-worker';

setGetShikiServiceCallback(getShikiService);

CDN

<script type="module">
  import { setGetShikiServiceCallback } from 'https://esm.run/@dineug/erd-editor';
  import { getShikiService } from 'https://esm.run/@dineug/erd-editor-shiki-worker';

  setGetShikiServiceCallback(getShikiService);
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i @dineug/erd-editor-shiki-worker

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

3.06 MB

Total Files

10

Last publish

Collaborators

  • dineug