FindSoftware

Sugar High

JavaScript library that highlights source code in several languages and returns the result as HTML.

Sugar High is a JavaScript library that highlights source code and returns the result as HTML. Its README says it runs in browsers and JavaScript runtimes without requiring a DOM. The API reference lists the package exports, the language mapping and the highlighting options.

The repository is a monorepo. Besides the core package, it holds the React package @sugar-high/react and the Remark package @sugar-high/remark.

Identity

Status
Active
Maintainer
Jiachi Liu4
Maintained by
Individual4
First release
20226

Rendering and deploy

Install with
npm3

Releases

Current major version
27
Last release
2026-11-138

Adoption

GitHub stars
1,3892
npm downloads a week
434,77310
Contributors
109
Dependent repositories
3311
Dependent packages
911

Why these figures do not compare

Sources

  1. 2026-11-16: links
    sugar-high.vercel.app/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/huozhi/sugar-high
  3. 2026-11-16: links, Categories, Install with, License model
    github.com/huozhi/sugar-high/blob/main/packages/sugar-high/README.md
  4. 2026-11-16: Maintainer, Maintained by
    api.github.com/users/huozhi
  5. 2026-11-16: License
    registry.npmjs.org/sugar-high/latest
  6. 2026-11-16: First release
    registry.npmjs.org/sugar-high
  7. 2026-11-16: Current major version
    api.github.com/repos/huozhi/sugar-high/releases
  8. 2026-11-16: Last release
    api.github.com/repos/huozhi/sugar-high/releases/latest
  9. 2026-11-16: Contributors
    api.github.com/repos/huozhi/sugar-high/contributors?per_page=1
  10. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/sugar-high
  11. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sugar-high

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON