![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@gerrit0/mini-shiki
Advanced tools
This is a re-bundled version of [Shiki](https://shiki.style/) which strips out the dependencies which aren't necessary for [TypeDoc](https://typedoc.org/)'s usage.
This is a re-bundled version of Shiki which strips out the dependencies which aren't necessary for TypeDoc's usage.
Compare Shiki's dependency tree:
To this package's dependency tree:
The Shiki maintainers have declined to split up the package in a way which makes it possible to avoid these dependencies when just relying on shikijs published packages.
This package will be released and keep the same major/minor version numbers as Shiki. Patch versions will generally be the same as Shiki, but may differ if adjustments are necessary to fix compatibility issues.
This package is ESM, but does not use top level await, so may be require
d in
Node 23, or Node 20.17+ with the --experimental-require-module
flag.
import {
codeToTokensWithThemes,
createShikiInternal,
createOnigurumaEngine,
bundledLanguages,
bundledThemes,
loadBuiltinWasm,
} from "@gerrit0/mini-shiki";
await loadBuiltinWasm();
const shiki = await createShikiInternal({
engine: createOnigurumaEngine(),
langs: [bundledLanguages.typescript],
themes: [bundledThemes["light-plus"]],
});
const lines = codeToTokensWithThemes(shiki, "console.log('Hello world!')", {
themes: { light: "light-plus" },
lang: "typescript",
});
v2.2.0 (2025-01-31)
FAQs
This is a re-bundled version of [Shiki](https://shiki.style/) which strips out the dependencies which aren't necessary for [TypeDoc](https://typedoc.org/)'s usage.
The npm package @gerrit0/mini-shiki receives a total of 80,700 weekly downloads. As such, @gerrit0/mini-shiki popularity was classified as popular.
We found that @gerrit0/mini-shiki demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.