MCPcopy Index your code
hub / github.com/alovajs/devtools

github.com/alovajs/devtools @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
745 symbols 1,895 edges 276 files 37 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Devtools for alova.js

features

  1. Automatically generate request code and response data types, and experience IntelliSense for response in js projects.
  2. Embed API documents in the code to experience the effect of checking and using APIs.
  3. Update APIs regularly and actively notify front-end developers, no longer relying on server-side developers to notify.

image

In the past, when the backend developer delivered the API to you, you had to open the intermediate API docs to query and copy the key information into your project, and you had to constantly switch between the intermediate API docs and your editor. But now, alova's devtools can eliminate the intermediate API docs for you, shortening the collaboration distance between the frontend and the backend like a wormhole. Through it, you can quickly find the required API in the editor and display the comprehensive document of this API, and quickly comprehensive parameter transfer by referring to the API parameter table, giving you a different API integration experience.

image

Visit Detailed documentation for more information.

View API completed information

You can view the complted API information in the Editor with the IntelliSense feature.

Quick access to API

Using the trigger word a-> to trigger apis quick positioning.

Search by url

Search by description

Welcome to contribute

We are honored to receive active participation from developers around the world in Issues and Discussions.

We hope to make alova a common project for everyone who is willing to participate, rather than the alova team. We encourage everyone to become a contributor to the alova community with an open and inclusive attitude. Even if you are a junior developer, as long as your ideas meet the development guidelines of alova, please participate generously.

Changelog

Changelog

Contributors

LICENSE

MIT

Extension points exported contracts — how you extend this code

Pet (Interface)
* @title a Pet * @description A pet for sale in the pet store
design/api-design-ts-global/src/api/globals.d.ts
Pet (Interface)
* @title a Pet * @description A pet for sale in the pet store
design/api-design-js-global-commonjs/src/api/globals.d.ts
Pet (Interface)
* @title a Pet * @description A pet for sale in the pet store
design/api-design-js-global/src/api/globals.d.ts
Apis (Interface)
(no doc)
packages/wormhole/test/output/openapi_300/globals.d.ts
ViteTypeOptions (Interface)
(no doc)
packages/vscode-extension/src/vite-env.d.ts
ReleasePlan (Interface)
(no doc)
scripts/utils/release-plan.ts
LoginData (Interface)
(no doc)
design/api-design-ts-global/src/api/globals.d.ts
LoginData (Interface)
(no doc)
design/api-design-js-global-commonjs/src/api/globals.d.ts

Core symbols most depended-on inside this repo

toCase
called by 99
packages/wormhole/src/utils/to-case.ts
normalizeGeneratorResult
called by 64
packages/wormhole/test/generates/utils.ts
generate
called by 54
packages/wormhole/src/generate.ts
filterApiDescriptor
called by 45
packages/wormhole/src/plugins/presets/filterApi.ts
generateWithPlugin
called by 40
packages/wormhole/test/util.ts
add
called by 33
packages/wormhole/src/helper/comment.ts
normalize
called by 31
packages/wormhole/src/helper/comment.ts
createStrReg
called by 28
packages/wormhole/test/util.ts

Shape

Function 351
Method 180
Interface 149
Class 61
Enum 4

Languages

TypeScript100%

Modules by API surface

packages/wormhole/src/utils/openapi.ts26 symbols
packages/wormhole/src/type/ast.ts21 symbols
packages/wormhole/src/helper/template/index.ts20 symbols
packages/vscode-extension/ext/core/Global.ts16 symbols
packages/wormhole/typings/plugins.d.ts15 symbols
packages/wormhole/src/helper/config/ConfigHelper.ts14 symbols
packages/wormhole/src/plugins/presets/rename.ts13 symbols
packages/wormhole/src/helper/logger/index.ts13 symbols
packages/wormhole/src/helper/config/GeneratorHelper.ts13 symbols
packages/wormhole/src/helper/comment.ts13 symbols
packages/vscode-extension/src/hooks/use-tree-node.ts13 symbols
packages/vscode-extension/ext/utils/Log.ts12 symbols

For agents

$ claude mcp add devtools \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact