react-syntax-highlighter 15.6.6
syntax highlighting component for react with prismjs or highlightjs ast using inline styles
react-syntax-highlighter@15.6.6 was published on 2025-08-25. Its manifest declares 6 runtime dependencies and 1 peer requirement. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All react-syntax-highlighter versions · Permanent reference to 15.6.6 · Latest release
Package specifications
| Version | 15.6.6 |
|---|---|
| License declaration | MIT |
| Published | 2025-08-25T19:45:14.719Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 6 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2168.76 KiB |
| Published file count | 1975 |
| Package type | Not declared |
| ES module entry | dist/esm/index.js |
| Default entry | dist/cjs/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 25 |
| Repository stars | 4673 |
| Repository forks | 317 |
Install react-syntax-highlighter 15.6.6
npm install react-syntax-highlighter@15.6.6 pnpm add react-syntax-highlighter@15.6.6 yarn add react-syntax-highlighter@15.6.6
Runtime dependencies
- prismjs ^1.30.0
- lowlight ^1.17.0
- refractor ^3.6.0
- highlight.js ^10.4.1
- @babel/runtime ^7.3.1
- highlightjs-vue ^1.0.0
Peer requirements
- react >= 0.14.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/runtime@7.29.10 — direct
- @types/hast@2.3.10 — indirect
- @types/unist@2.0.11 — indirect
- character-entities@1.2.4 — indirect
- character-entities-legacy@1.1.4 — indirect
- character-reference-invalid@1.1.4 — indirect
- comma-separated-tokens@1.0.8 — indirect
- fault@1.0.4 — indirect
- format@0.2.2 — indirect
- hast-util-parse-selector@2.2.5 — indirect
- hastscript@6.0.0 — indirect
- highlight.js@10.7.3 — direct
- highlightjs-vue@1.0.0 — direct
- is-alphabetical@1.0.4 — indirect
- is-alphanumerical@1.0.4 — indirect
- is-decimal@1.0.4 — indirect
- is-hexadecimal@1.0.4 — indirect
- lowlight@1.20.0 — direct
- parse-entities@2.0.0 — indirect
- prismjs@1.27.0 — indirect
- prismjs@1.30.0 — direct
- property-information@5.6.0 — indirect
- refractor@3.6.0 — direct
- space-separated-tokens@1.1.5 — indirect
- xtend@4.0.2 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 4/10 — Found 9/22 approved changesets -- score normalized to 4 |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Security-Policy | 0/10 — security policy file not detected |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| Branch-Protection | 3/10 — branch protection is not maximal on development and all release branches |
| SAST | 7/10 — SAST tool detected but not run on all commits |
| Fuzzing | 0/10 — project is not fuzzed |
Evidence and freshness
- https://registry.npmjs.org/react-syntax-highlighter/15.6.6 — retrieved 2026-10-29T09:35:50.067Z
- https://api.deps.dev/v3/projects/github.com%2Freact-syntax-highlighter%2Freact-syntax-highlighter — retrieved 2026-10-29T09:32:05.204Z
- https://api.deps.dev/v3/systems/npm/packages/react-syntax-highlighter/versions/15.6.6 — retrieved 2026-10-29T09:35:50.886Z
- https://api.deps.dev/v3/systems/npm/packages/react-syntax-highlighter/versions/15.6.6:dependencies — retrieved 2026-10-29T09:35:50.915Z