refractor 2.8.0
Lightweight, robust, elegant virtual syntax highlighting using Prism
refractor@2.8.0 was published on 2019-03-26. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All refractor versions · Permanent reference to 2.8.0 · Latest release
Package specifications
| Version | 2.8.0 |
|---|---|
| License declaration | MIT |
| Published | 2019-03-26T03:18:10.373Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 484.77 KiB |
| Published file count | 182 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 20 |
| Repository stars | 868 |
| Repository forks | 48 |
Install refractor 2.8.0
npm install refractor@2.8.0 pnpm add refractor@2.8.0 yarn add refractor@2.8.0
Runtime dependencies
- prismjs ~1.16.0
- hastscript ^5.0.0
- parse-entities ^1.1.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- character-entities@1.2.4 — indirect
- character-entities-legacy@1.1.4 — indirect
- character-reference-invalid@1.1.4 — indirect
- clipboard@2.0.11 — indirect
- comma-separated-tokens@1.0.8 — indirect
- delegate@3.2.0 — indirect
- good-listener@1.2.2 — indirect
- hast-util-parse-selector@2.2.5 — indirect
- hastscript@5.1.2 — 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
- parse-entities@1.2.2 — direct
- prismjs@1.16.0 — direct
- property-information@5.6.0 — indirect
- select@1.1.2 — indirect
- space-separated-tokens@1.1.5 — indirect
- tiny-emitter@2.1.0 — 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 | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
|---|---|
| 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 |
| SAST | 0/10 — no SAST tool detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
Evidence and freshness
- https://registry.npmjs.org/refractor/2.8.0 — retrieved 2026-10-29T12:37:55.225Z
- https://api.deps.dev/v3/projects/github.com%2Fwooorm%2Frefractor — retrieved 2026-10-29T11:38:51.503Z
- https://api.deps.dev/v3/systems/npm/packages/refractor/versions/2.8.0 — retrieved 2026-10-29T12:37:55.755Z
- https://api.deps.dev/v3/systems/npm/packages/refractor/versions/2.8.0:dependencies — retrieved 2026-10-29T12:37:55.793Z