npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codependix/nestjs-modules

v0.0.37

Published

NestJS module container inspection and module-level dependency graph extraction for Codependix

Readme

🕸️ Codependix NestJS Modules

npm

NestJS module container inspection and module-level dependency graph extraction for Codependix.

Test

nx run codependix-nestjs-modules:vitest

🕸️ Codependix

Dependency graphs exported by codependix, regenerated by nx run configuration:codependix:write.

Nx Neighborhood

graph LR
  codependix_boundaries["codependix-boundaries"]
  codependix_examples["codependix-examples"]
  codependix_nestjs_modules["codependix-nestjs-modules"]
  codependix_output["codependix-output"]
  logging["logging"]
  codependix_boundaries --> codependix_nestjs_modules
  codependix_examples --> codependix_nestjs_modules
  codependix_nestjs_modules --> logging
  codependix_output --> codependix_nestjs_modules
  classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
  class codependix_nestjs_modules subject

NestJS Module Graph

flowchart LR
  LoggerModule([LoggerModule])
  ModuleGraphModule
  NestjsModulesWorkspaceGraphModule
  NestjsProjectModule

Rounded modules are global: every module can inject them, so their edges are left out.

File Imports

graph LR
  file_callidescope_config_ts["callidescope.config.ts"]
  file_codependix_config_ts["codependix.config.ts"]
  file_codometer_config_ts["codometer.config.ts"]
  file_eslint_config_ts["eslint.config.ts"]
  file_src_index_ts["src/index.ts"]
  file_src_index_unit_test_ts["src/index.unit.test.ts"]
  file_src_modules_module_graph_module_graph_constants_ts["src/modules/module-graph/module-graph.constants.ts"]
  file_src_modules_module_graph_module_graph_module_ts["src/modules/module-graph/module-graph.module.ts"]
  file_src_modules_module_graph_module_graph_module_unit_test_ts["src/modules/module-graph/module-graph.module.unit.test.ts"]
  file_src_modules_module_graph_module_graph_service_ts["src/modules/module-graph/module-graph.service.ts"]
  file_src_modules_module_graph_module_graph_service_unit_test_ts["src/modules/module-graph/module-graph.service.unit.test.ts"]
  file_src_modules_module_graph_module_graph_types_ts["src/modules/module-graph/module-graph.types.ts"]
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_constants_ts["src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.constants.ts"]
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_module_ts["src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.module.ts"]
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_module_unit_test_ts["src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.module.unit.test.ts"]
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_ts["src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts"]
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_unit_test_ts["src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.unit.test.ts"]
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_types_ts["src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.types.ts"]
  file_src_modules_nestjs_project_nestjs_project_synthetic_module_ts["src/modules/nestjs-project/nestjs-project-synthetic.module.ts"]
  file_src_modules_nestjs_project_nestjs_project_constants_ts["src/modules/nestjs-project/nestjs-project.constants.ts"]
  file_src_modules_nestjs_project_nestjs_project_module_ts["src/modules/nestjs-project/nestjs-project.module.ts"]
  file_src_modules_nestjs_project_nestjs_project_module_unit_test_ts["src/modules/nestjs-project/nestjs-project.module.unit.test.ts"]
  file_src_modules_nestjs_project_nestjs_project_service_ts["src/modules/nestjs-project/nestjs-project.service.ts"]
  file_src_modules_nestjs_project_nestjs_project_service_unit_test_ts["src/modules/nestjs-project/nestjs-project.service.unit.test.ts"]
  file_src_modules_nestjs_project_nestjs_project_types_ts["src/modules/nestjs-project/nestjs-project.types.ts"]
  file_testing_codependix_nestjs_modules_module_ts["testing/codependix-nestjs-modules.module.ts"]
  file_testing_mocks_ts["testing/mocks.ts"]
  file_testing_setup_ts["testing/setup.ts"]
  file_vite_config_ts["vite.config.ts"]
  file_vitest_config_ts["vitest.config.ts"]
  file_src_index_unit_test_ts --> file_src_index_ts
  file_src_modules_module_graph_module_graph_module_ts --> file_src_modules_module_graph_module_graph_service_ts
  file_src_modules_module_graph_module_graph_module_unit_test_ts --> file_src_modules_module_graph_module_graph_module_ts
  file_src_modules_module_graph_module_graph_module_unit_test_ts --> file_src_modules_module_graph_module_graph_service_ts
  file_src_modules_module_graph_module_graph_service_ts --> file_src_modules_module_graph_module_graph_constants_ts
  file_src_modules_module_graph_module_graph_service_ts --> file_src_modules_module_graph_module_graph_types_ts
  file_src_modules_module_graph_module_graph_service_ts --> file_src_modules_nestjs_project_nestjs_project_types_ts
  file_src_modules_module_graph_module_graph_service_unit_test_ts --> file_src_modules_module_graph_module_graph_service_ts
  file_src_modules_module_graph_module_graph_service_unit_test_ts --> file_src_modules_nestjs_project_nestjs_project_types_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_module_ts --> file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_module_unit_test_ts --> file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_module_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_module_unit_test_ts --> file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_ts --> file_src_modules_module_graph_module_graph_types_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_ts --> file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_constants_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_ts --> file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_types_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_unit_test_ts --> file_src_modules_module_graph_module_graph_types_ts
  file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_unit_test_ts --> file_src_modules_nestjs_modules_workspace_graph_nestjs_modules_workspace_graph_service_ts
  file_src_modules_nestjs_project_nestjs_project_module_ts --> file_src_modules_nestjs_project_nestjs_project_service_ts
  file_src_modules_nestjs_project_nestjs_project_module_unit_test_ts --> file_src_modules_nestjs_project_nestjs_project_module_ts
  file_src_modules_nestjs_project_nestjs_project_module_unit_test_ts --> file_src_modules_nestjs_project_nestjs_project_service_ts
  file_src_modules_nestjs_project_nestjs_project_service_ts --> file_src_modules_nestjs_project_nestjs_project_synthetic_module_ts
  file_src_modules_nestjs_project_nestjs_project_service_ts --> file_src_modules_nestjs_project_nestjs_project_constants_ts
  file_src_modules_nestjs_project_nestjs_project_service_ts --> file_src_modules_nestjs_project_nestjs_project_types_ts
  file_src_modules_nestjs_project_nestjs_project_service_unit_test_ts --> file_src_modules_nestjs_project_nestjs_project_service_ts
  file_src_modules_nestjs_project_nestjs_project_service_unit_test_ts --> file_src_modules_nestjs_project_nestjs_project_types_ts
  file_src_modules_nestjs_project_nestjs_project_service_unit_test_ts --> file_testing_codependix_nestjs_modules_module_ts

🔭 Callidescope

Call stacks traced through projects/ic-suite/codependix/codependix-nestjs-modules, deepest first. Each frame shows what it takes, what it returns, and what its documentation says.

| Measure | Value | | --- | --- | | Callables | 58 | | Files | 20 | | Calls traced | 57 | | Call stacks | 0 | | Deepest stack | 0 | | Stacks through recursion | 0 | | Unfollowable calls | 2 |

Limits

What this project is judged against, as declared in its own callidescope.config.ts.

| Limit | Value | | --- | --- | | maximumDepth | 5 | | maximumBreadth | 7 |

Call stacks (depth)

None.

Breadth

| Callable | Breadth | Calls directly | Location | | --- | --- | --- | --- | | ModuleGraphService.buildGraph | 7 | ModuleGraphService.findAmbientModuleNames, ModuleGraphService.collectEdgesAndNodes, ModuleGraphService.toSorted(…), ModuleGraphService.sortNames, ModuleGraphService.map(…), ModuleGraphService.toSorted(…), ModuleGraphService.filter(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:168 | | NestjsProjectService.exploreProject | 5 | NestjsProjectService.buildSyntheticRootModule, NestjsProjectService.loadRootModule, NestjsProjectService.discoverModuleDeclaringFiles, NestjsProjectService.exploreContainer, NestjsProjectService.map(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:248 | | NestjsModulesWorkspaceGraphService.buildWorkspaceGraph | 4 | NestjsModulesWorkspaceGraphService.sortNames, NestjsModulesWorkspaceGraphService.flatMap(…), NestjsModulesWorkspaceGraphService.toSorted(…), NestjsModulesWorkspaceGraphService.flatMap(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:80 |

| Callable | Breadth | Calls directly | Location | | --- | --- | --- | --- | | NestjsProjectService.buildSyntheticRootModule | 3 | NestjsProjectService.findModuleFiles, NestjsProjectService.loadModuleClasses, SyntheticRootModule.forModules | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:58 | | NestjsProjectService.exploreContainer | 3 | NestjsProjectService.some(…), NestjsProjectService.filter(…), NestjsProjectService.map(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:122 | | ModuleGraphService.collectEdgesAndNodes | 2 | ModuleGraphService.addNode, ModuleGraphService.find(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:49 | | ModuleGraphService.renderMermaid | 2 | ModuleGraphService.map(…), ModuleGraphService.map(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:203 | | NestjsModulesWorkspaceGraphService.renderMermaid | 2 | NestjsModulesWorkspaceGraphService.map(…), NestjsModulesWorkspaceGraphService.map(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:103 | | NestjsProjectService.discoverModuleDeclaringFiles | 2 | NestjsProjectService.findModuleFiles, NestjsProjectService.loadModuleClasses | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:81 | | NestjsProjectService.loadModuleClasses | 2 | NestjsProjectService.map(…), NestjsProjectService.filter(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:171 | | NestjsProjectService.discoverProjects | 2 | NestjsProjectService.map(…), NestjsProjectService.filter(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:232 | | ModuleGraphService.addNode | 1 | ModuleGraphService.some(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:61 | | ModuleGraphService.findAmbientModuleNames | 1 | ModuleGraphService.countInboundEdges | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:137 | | ModuleGraphService.sortNames | 1 | ModuleGraphService.toSorted(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:161 | | ModuleGraphService.toSorted(…) | 1 | ModuleGraphService.compareNodes | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:177 | | ModuleGraphService.toSorted(…) | 1 | ModuleGraphService.compareEdges | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:186 | | ModuleGraphService.map(…) | 1 | ModuleGraphService.renderNode | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/module-graph/module-graph.service.ts:211 | | NestjsModulesWorkspaceGraphService.renderNode | 1 | NestjsModulesWorkspaceGraphService.toNodeIdentifier | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:60 | | NestjsModulesWorkspaceGraphService.sortNames | 1 | NestjsModulesWorkspaceGraphService.toSorted(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:65 | | NestjsModulesWorkspaceGraphService.flatMap(…) | 1 | NestjsModulesWorkspaceGraphService.map(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:84 | | NestjsModulesWorkspaceGraphService.map(…) | 1 | NestjsModulesWorkspaceGraphService.qualifyModuleName | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:85 | | NestjsModulesWorkspaceGraphService.flatMap(…) | 1 | NestjsModulesWorkspaceGraphService.map(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:91 | | NestjsModulesWorkspaceGraphService.map(…) | 1 | NestjsModulesWorkspaceGraphService.qualifyModuleName | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:92 | | NestjsModulesWorkspaceGraphService.toSorted(…) | 1 | NestjsModulesWorkspaceGraphService.compareEdges | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:97 | | NestjsModulesWorkspaceGraphService.map(…) | 1 | NestjsModulesWorkspaceGraphService.renderNode | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:111 | | NestjsModulesWorkspaceGraphService.map(…) | 1 | NestjsModulesWorkspaceGraphService.toNodeIdentifier | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-modules-workspace-graph/nestjs-modules-workspace-graph.service.ts:115 | | NestjsProjectService.findModuleFiles | 1 | NestjsProjectService.toSorted(…) | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:152 | | NestjsProjectService.filter(…) | 1 | NestjsProjectService.isNestjsProject | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:237 | | NestjsProjectService.map(…) | 1 | NestjsProjectService.describeProject | projects/ic-suite/codependix/codependix-nestjs-modules/src/modules/nestjs-project/nestjs-project.service.ts:238 |

⏲️ Codometer

Project

Lines of Code Repository Size Folders Source Files

Measured Targets

Compiled JavaScript Size

TypeScript

TypeScript Files Interfaces Generic Declarations Enums Decorators Doc Comments Static Methods

JavaScript

JavaScript Files Test Files External Packages Classes Functions Methods Sync Functions Async Functions Constants Imports Exported Symbols Comments Comment Lines TODO Comments

Python

Python Files Python Lines Python Classes Python Functions Python Protocols Python Constants Python Imports Python Decorators Docstrings Docstring Lines Python Comments Python Comment Lines

JSON

JSON Files JSON Lines JSON Objects JSON Arrays JSON Properties JSON Strings JSON Numbers JSON Booleans JSON Nulls JSON Items JSON Nodes JSON Max Depth

YAML

YAML Files YAML Lines YAML Documents YAML Mappings YAML Sequences YAML Keys YAML Scalars YAML Anchors YAML Aliases YAML Comments YAML Max Depth

TOML

TOML Files TOML Lines TOML Tables TOML Array Tables TOML Keys TOML Arrays TOML Comments

Shell

Shell Files Shell Lines Shell Functions Shell Variables Shell Exports Shell Conditionals Shell Loops Shell Pipelines Shebangs Shell Comments Shell Comment Lines

SQL

SQL Files SQL Lines SQL Statements SQL Selects SQL Inserts SQL Updates SQL Deletes SQL Creates SQL Joins SQL CTEs SQL Comments

HCL

HCL Files HCL Lines HCL Blocks HCL Resources HCL Variables HCL Outputs HCL Attributes HCL Interpolations HCL Comments

CSS

CSS Files CSS Lines CSS Rules CSS Selectors CSS Declarations CSS At Rules CSS Media Queries CSS Custom Properties CSS Comments

Conventions

Module Files Service Files Command Files Constants Files Types Files Utilities Files TypeORM Entities Unit Tests Integration Tests End To End Tests CSS Comment Budget HCL Comment Budget Python Comment Budget SQL Comment Budget TOML Comment Budget TypeScript Comment Budget YAML Comment Budget Shell Comment Budget

Jupyter

Notebooks Notebook Cells Code Cells Markdown Cells Raw Cells Executed Cells Cell Outputs Notebook Code Lines Notebook Classes Notebook Functions Notebook Imports Notebook Decorators Notebook Prose Lines Notebook Headings Notebook Links Notebook Images Notebook Code Blocks Notebook Properties Notebook Nodes Notebook Max Depth

Markdown

Markdown Files Markdown Lines H1 H2 H3 H4 H5 H6 Paragraphs Lists List Items Task List Items Tables Table Rows Links Images Code Blocks Inline Code Block Quotes Thematic Breaks