diffs.com valid
@pierre/diffs
An open source diff and code rendering library with rich syntax highlighting, edit mode, support for custom and Shiki themes, virtualization, and more. Available with React and vanilla JS APIs
For agents: Open source @pierre/diffs library for rendering code diffs with syntax highlighting, Shiki themes and React and vanilla JS APIs, with installation and API docs.
diff renderingcode diffsyntax highlightingreact componentsshiki themes
Their llms.txt
The beginning of the file, from our validated copy saved 2026-10-21T09:49:50.512Z. Cached copy · Source on diffs.com
# @pierre/diffs
> An open source diff and code rendering library with rich syntax highlighting, edit mode, support for custom and Shiki themes, virtualization, and more. Available with React and vanilla JS APIs
- Package: `@pierre/diffs` on [npm](https://www.npmjs.com/package/@pierre/diffs)
- GitHub: https://github.com/pierrecomputer/pierre
- Install: `npm install @pierre/diffs`
## Docs
- [Overview](https://diffs.com/docs#overview): What diffs is, architecture, and getting started
- [Installation](https://diffs.com/docs#installation): Package installation and entry points
- [Build with agents](https://diffs.com/docs#build-with-agents): The diffs agent skill, a paste-ready prompt for agents without skill support, and the plain-text docs
- [Core Types](https://diffs.com/docs#core-types): FileContents, FileDiffMetadata, and creating diffs from files or patches
- [Highlighters](https://diffs.com/docs#highlighters): Choosing Shiki or Highlights for components, SSR, and worker pools
- [React API](https://diffs.com/docs#react-api): React components for CodeView, diffs, files, UnresolvedFile, EditProvider, and shared props
- [Vanilla JS API](https://diffs.com/docs#vanilla-js-api): Vanilla classes for CodeView, FileDiff, File, UnresolvedFile, props, and low-level renderers
- [CodeView](https://diffs.com/docs#codeview): One virtualized scroll region for mixed file and diff lists, with scrollTo targeting, viewer-wide selection, sticky headers, and header/footer regions
- [Edit mode](https://diffs.com/docs#edit-mode): Edit mode for File components via Editor and EditProvider, with selections, history, search, actions, and shortcuts
- [Virtualization](https://diffs.com/docs#virtualization): Virtual scrolling for large diffs and files
- [Hunk Separators](https://diffs.com/docs#hunk-separators): Built-in separator presets, CSS customization hooks, and the discouraged vanilla escape hatch
- [Utilities](https://diffs.com/docs#utilities): parseDiffFromFile, parsePatchFiles, highlighter management, accept/reject hunks
- [Styling](https://diffs.com/docs#styling): CSS variables, inline styles, and unsafe CSS injection
- [Themes](https://diffs.com/docs#themes): Pierre Light/Dark themes, custom theme creation, and registration
- [Token Hooks](https://diffs.com/docs#token-hooks): Experimental token-level enter/leave/click callbacks for hover UI and LSP integrations
- [Worker Pool](https://diffs.com/docs#worker-pool): Off-main-thread syntax highlighting with configurable worker pools
- [SSR](https://diffs.com/docs#ssr): Server-side rendering with preload functions for instant first paint
- [Highlights](https://diffs.com/docs#highlights): Highlights APIs, themes, languages, streaming, and incremental editing
## See also
- [@pierre/trees](https://trees.software/llms.txt): File tree rendering library
- [Full documentation](https://diffs.com/llms-full.txt): Complete @pierre/diffs docs in a single file
Related sites
Other listed sites in Developer tools. See the whole category →
| Domain | Title | Category | Country | Authority | llms.txt | llms-full.txt | Save |
|---|---|---|---|---|---|---|---|
| 0state.com | 0state | documentation Open source projects AI agents and MCP +1 | 61 | ✓ | |||
| docker.com | Docker Documentation | documentation DevOps and observability Developer tools +1 | US | 75 | ✓ | ✓ | |
| atlassian.com | Atlassian | documentation Developer tools Productivity +1 | 74 | ✓ | ✓ | ||
| getbootstrap.com | Bootstrap | documentation Open source projects Developer tools | 74 | ✓ | ✓ | ||
| pages.dev | Cloudflare Pages | documentation Infrastructure Developer tools | 73 | ✓ | ✓ | ||
| chatgpt.com | Codex | documentation Developer tools AI and machine learning | 72 | ✓ | ✓ | ||
| gitee.com | Gitee | documentation Developer tools Productivity +1 | CN | 72 | ✓ | ✓ | |
| openai.com | OpenAI Developers | interface Education Developer tools +3 | 72 | ✓ | ✓ |
Machine-readable: GET /v1/resolve?q=diffs.com · GET /v1/domain/diffs.com · this page as Accept: application/json or text/markdown · MCP lookup_domain
Automatically discovered from public files. Inclusion does not imply endorsement or publisher participation.
Own or manage this website?
If you own or manage diffs.com, you can update its listing and review file health, discovery activity and score history.
Manage this listing — optional
What verification unlocks
See how your site is discovered—and control what agents see.
- Control what agents see
Edit your listing description, tags, public contact details and additional llms.txt paths. Publish your terms for automated access, attribution and pricing.
- Make your profile eligible for search
A valid, listed, unblocked, verified profile can appear in our publisher sitemap and become eligible for search-engine visibility. Search engines decide what to index and rank.
- Appear in our llms-full.txt
Eligible verified publishers are listed by name, with their file links and summaries, in the service overview agents can read.
Free. No account registration, backlink or payment required. Public discovery remains available without verification.
Let your coding agent verify it
If your coding agent is authorized to manage this website, paste these instructions into it.
Claim my listing on Agent Web Map for diffs.com:
1. POST https://agentwebmap.com/v1/sites/diffs.com/claims and keep claim_id and claim_secret private.
2. Publish the proof: add the line "AgentWebMap ownership: <token>" (token from step 1) to https://diffs.com/llms.txt, or use the DNS, meta-tag or well-known method the response describes.
3. POST https://agentwebmap.com/v1/sites/diffs.com/verify with {"claim_id": "...", "claim_secret": "..."}.
4. Save the api_key from the answer; it manages the listing (PATCH https://agentwebmap.com/v1/sites/diffs.com).
MCP equivalent: tools begin_ownership_claim, then verify_domain, at https://agentwebmap.com/mcp. Docs: https://agentwebmap.com/docs#verifyCorrections or removal requests: contact the directory.