Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@phosphorco/effect-docgen

Latest version: v4.1.0-phosphorco.1795485980.g513177a5a353

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: colel, its-rosetta
152 Versions
24.7K Downloads

Scan summary

@phosphorco/effect-docgen was last scanned on 24 Nov 2026 at version 4.1.0-phosphorco.1795485980.g513177a5a353. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 152 versions; the latest 5 were published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 4.1.0-phosphorco.1795485980.g513177a5a353.
  • Downloads: 24,725 downloads.

Versions

152 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.1.0-phosphorco.1795485980.g513177a5a353 LATEST 24 Nov 2026 No rules fired
4.1.0-phosphorco.1795481986.g77cc2c711c68 24 Nov 2026 No rules fired
4.1.0-phosphorco.1795478224.g54f72c087e36 24 Nov 2026 Not shown
4.1.0-phosphorco.1795472068.g4189c14c7bb5 23 Nov 2026 Not shown
4.1.0-phosphorco.1795470467.gdc0412698255 23 Nov 2026 Not shown

No rules fired in 4.1.0-phosphorco.1795485980.g513177a5a353

Findings

Findings for v4.1.0-phosphorco.1795485980.g513177a5a353. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 4.1.0-phosphorco.1795485980.g513177a5a353; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@effect/docgen

An opinionated documentation generator for Effect projects.

Installation

npm install -D @effect/docgen

Links

  • Website: documentation, guides, and news.
  • Reference: API documentation for this package.
  • Discord: ask questions, share what you're building, and talk to the core team.
  • Community: meetups and events, or bring Effect to your own.
  • Issues: bug reports and feature requests.

Let's talk

Whether your team is considering Effect, rolling it out, or already running it in production, we'd love to hear from you: what you're building, what works, and what you need from Effect next.

  • Talk to the maintainers. Introduce your team on Discord or email contact@effectful.co. We're happy to connect privately on Slack or Discord for feedback and help with adoption.
  • Production support. We're exploring how to better support teams running Effect in production. If your organization has specific support needs, let's discuss them.
  • Adoption help. Our adoption partners offer implementation, consulting, team extension, training, and commercial support.

Credits

This library was inspired by the following projects:

Setup

  1. (Optional) Add a docgen.json configuration file.
{
  "$schema": "node_modules/@effect/docgen/schema.json"
}
  1. Add the following script to your package.json file:
{
  "scripts": {
    "docgen": "docgen"
  }
}

[!WARNING] To use "@effect/docgen", Node.js v18 or above is required.

Example Configuration

The docgen.json configuration file allows you to customize docgen's behavior. Here's an example configuration:

{
  "exclude": ["src/internal/**/*.ts"],
  "parseCompilerOptions": {
    "noEmit": true,
    "strict": true,
    "skipLibCheck": true,
    "moduleResolution": "Bundler",
    "target": "ES2022",
    "lib": ["ES2022", "DOM"],
    "paths": {
      "@effect/<project-name>": ["./src/index.js"],
      "@effect/<project-name>/test/*": ["./test/*.js"],
      "@effect/<project-name>/examples/*": ["./examples/*.js"],
      "@effect/<project-name>/*": ["./src/*.js"]
    }
  },
  "examplesCompilerOptions": {
    "noEmit": true,
    "strict": true,
    "skipLibCheck": true,
    "moduleResolution": "Bundler",
    "target": "ES2022",
    "lib": ["ES2022", "DOM"],
    "paths": {
      "@effect/<project-name>": ["../../src/index.js"],
      "@effect/<project-name>/test/*": ["../../test/*.js"],
      "@effect/<project-name>/examples/*": ["../../examples/*.js"],
      "@effect/<project-name>/*": ["../../src/*.js"]
    }
  }
}

Supported JSDoc Tags

Tag Description Default
@category Groups associated module exports together in the generated documentation. 'utils'
@example Allows usage examples to be provided for your source code. All examples are type checked using tsc. Examples are also run using tsx and the NodeJS assert module can be used for on-the-fly testing.
@since Allows for documenting most recent library version in which a given piece of source code was updated.
@deprecated Marks source code as deprecated, which will strikethrough the name of the annotated module or function in the generated documentation. false
@internal Prevents docgen from generating documentation for the annotated block of code. Additionally, if the stripInternal flag is set to true in tsconfig.json, TypeScript will not emit declarations for the annotated code.
@ignore Prevents docgen from generating documentation for the annotated block of code.

By default, docgen will search for files in the src directory and will output generated files into a docs directory. For information on how to configure docgen, see the Configuration section below.

Configuration

docgen is meant to be a zero-configuration command-line tool by default. However, there are several configuration settings that can be specified for docgen. To customize the configuration of docgen, create a docgen.json file in the root directory of your project and indicate the custom configuration parameters that the tool should use when generating documentation.

The docgen.json configuration file adheres to the following interface:

interface Config {
  readonly projectHomepage?: string
  readonly srcLink?: string
  readonly srcDir?: string
  readonly outDir?: string
  readonly theme?: string
  readonly enableSearch?: boolean
  readonly enforceDescriptions?: boolean
  readonly enforceExamples?: boolean
  readonly enforceVersion?: boolean
  readonly tscExecutable?: string
  readonly exclude?: ReadonlyArray<string>
  readonly parseCompilerOptions?: string | Record<string, unknown>
  readonly examplesCompilerOptions?: string | Record<string, unknown>
}

The following table describes each configuration parameter, its purpose, and its default value.

Parameter Description Default Value
projectHomepage Will link to the project homepage from the Auxiliary Links of the generated documentation. homepage in package.json
srcLink Will link to the project source code. {projectHomepage}/blob/main/src/
srcDir The directory in which docgen will search for TypeScript files to parse. 'src'
outDir The directory to which docgen will generate its output markdown documents. 'docs'
theme The theme that docgen will specify should be used for GitHub Docs in the generated _config.yml file. 'mikearnaldi/just-the-docs'
enableSearch Whether or not search should be enabled for GitHub Docs in the generated _config.yml file. true
enforceDescriptions Whether or not descriptions for each module export should be required. false
enforceExamples Whether or not @example tags for each module export should be required. (Note: examples will not be enforced in module documentation) false
enforceVersion Whether or not @since tags for each module export should be required. true
tscExecutable The path to the TypeScript compiler executable that docgen should use when invoking the compiler programmatically. 'tsc'
exclude An array of glob strings specifying files that should be excluded from the documentation. []
parseCompilerOptions tsconfig for parsing options (or path to a tsconfig) {}
examplesCompilerOptions tsconfig for the examples options (or path to a tsconfig) {}

FAQ

Q: For functions that have overloaded definitions, is it possible to document each overload separately?

A: No, docgen will use the documentation provided for the first overload of a function in its generated output.

License

The MIT License (MIT)

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @phosphorco/effect-docgen

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229