repowisedodopayments/billingsdk

Architecture of dodopayments/billingsdk

dodopayments/billingsdk is 454 source files holding 887 symbols across 3 modules, written mainly in TypeScript, JavaScript. The largest module is src, with 242 files, and 1 file is an entry point into the dependency graph.

How billingsdk fits together

Billing data such as plans, usage, quota, subscription status, and plan-change intents supplies the input for the interface. The src directory contains the main component library that assembles this data into React billing experiences. The packages directory provides package-level distribution and integration code. The project also includes an interactive documentation site that uses the components and configuration to show implementation guidance. Components render pricing, subscription, usage, notification, upgrade, downgrade, and cancellation interfaces for an application.

Largest modules

  • src: 242 files and 25,902 lines of code
  • packages: 97 files and 7,113 lines of code
  • root: 5 files and 126 lines of code

Languages

By file count: TypeScript 340 files, JavaScript 4 files.

Documentation

Repowise documents billingsdk in 377 pages generated from the source, 21 of them written explanations of the repository and its modules. Module guides include:

  • src: Application Core Layout
  • src/registry/billingsdk: Billingsdk Registry Components
  • src/lib: Billingsdk Shared Utilities
  • packages/cli/src: CLI Component Toolkit
  • src/components/billingsdk: Components Billingsdk

More on billingsdk: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos