JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2365714
  • Score
    100M100P100Q224335F
  • License MIT

Shiki's fork of `vscode-textmate`

Package Exports

  • @shikijs/vscode-textmate

Readme

Fork of microsoft/vscode-textmate

Changes make in this fork:

  • Change all async operations to sync; onigLib option now required to be resolved instead of a promise.
  • Use tsup to bundle the lib, ship as a single file ES module.
  • Remove debug flags and some other unnecessary exports.
  • Convert EncodedTokenAttributes from namespace to class, rename to EncodedTokenMetadata
  • Support RegExp literals in grammar object (#3)