{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/starry-night/","markdown":"https://findsoftware.frbit.cloud/starry-night.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"starry-night","name":"starry-night","urls":{"repository":"https://github.com/wooorm/starry-night","docs":"https://github.com/wooorm/starry-night/blob/main/readme.md"},"category":["library"],"description":"JavaScript syntax highlighter that uses TextMate grammars and is designed to produce markup matching GitHub's code highlighting.","maintainer":"Titus Wormer","maintainerType":"individual","firstRelease":2022,"hosting":["node","deno"],"language":"javascript","runtime":["node","deno"],"runtimeMin":"node 16","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"npm, cdn","licenseModel":"open-source","license":"MIT, Apache-2.0","currentMajor":"3","latestReleaseDate":"2026-08-30T00:00:00.000Z","githubStargazers":1819,"contributors":5,"packagistDownloads":null,"npmWeeklyDownloads":149890,"dependentRepos":56,"dependentPackages":19,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/wooorm/starry-night","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/wooorm/starry-night/blob/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/wooorm/starry-night","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/wooorm/starry-night/blob/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/wooorm/starry-night/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/wooorm/starry-night/blob/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/wooorm/starry-night/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/wooorm/starry-night/releases/latest","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/wooorm/starry-night/releases/latest","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@wooorm/starry-night","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@wooorm%2Fstarry-night","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@wooorm%2Fstarry-night","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/wooorm/starry-night","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/wooorm/starry-night/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"starry-night is a JavaScript syntax highlighter that uses TextMate grammars. It produces a syntax tree rather than a string, so the result can be turned into HTML, React nodes or ANSI output. The README says its output classes are meant to match GitHub's and that the stylesheet it ships supports light and dark mode. It calls the project similar to shiki.\n\n## Worth knowing\n\nThe package is ESM only. The README notes a WebAssembly dependency and rather big grammars, and says it may be too heavy in browsers, where it names lowlight and refractor as more suitable options. The grammars it includes are covered by their own repositories' licenses, which the README calls permissive."}