refractor 2.4.1
Lightweight, robust, elegant virtual syntax highlighting using Prism
refractor@2.4.1 was published on 2018-05-02. Its manifest declares 2 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.4.1 · Latest release
Package specifications
| Version | 2.4.1 |
|---|---|
| License declaration | MIT |
| Published | 2018-05-02T15:37:17.825Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 404.69 KiB |
| Published file count | 153 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 12 |
| Repository stars | 868 |
| Repository forks | 48 |
Install refractor 2.4.1
npm install refractor@2.4.1 pnpm add refractor@2.4.1 yarn add refractor@2.4.1
Runtime dependencies
- prismjs ~1.14.0
- hastscript ^3.1.0
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.
- camelcase@3.0.0 — 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@3.1.0 — direct
- prismjs@1.14.0 — direct
- property-information@3.2.0 — indirect
- select@1.1.2 — indirect
- space-separated-tokens@1.1.5 — indirect
- tiny-emitter@2.1.0 — 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.4.1 — retrieved 2026-10-29T12:38:49.061Z
- 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.4.1 — retrieved 2026-10-29T12:38:49.597Z
- https://api.deps.dev/v3/systems/npm/packages/refractor/versions/2.4.1:dependencies — retrieved 2026-10-29T12:38:49.616Z