Diffs

Open-source diff and code rendering library built on Shiki: stacked or split layouts, inline word-level highlights, a merge-conflict UI, line comments and an edit mode.

Visit website ↗GitHub ↗npm ↗

Install

bun add @pierre/diffs
npm i @pierre/diffs

Similar in the index

  • twinkleplop A fast JavaScript syntax highlighter covering dozens of languages.
  • almostnode Runs Node.js, Next.js and Vite entirely in the browser, in about 250 KB.
  • Better Upload File uploads in React straight to any S3-compatible service with minimal setup.
  • comark A fast Markdown parser and renderer for Angular, React, Svelte, Vue and more.
  • Cuelume A curated sound palette that gives buttons and toggles audio feedback.