Yapi文档Ts接口定义转换

Latest Version

Version
0.0.4
Update
May 17, 2023
Size
318KiB
Developer
Category
Users
77
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Storage
Scripting
See more

YapiHelper Extension

快速自动化生成yapi 接口ts定义, 一键式查询任意站内yapi接口;

支持配置可使用业务域名;

自动匹配符合正则规则的接口页面(/^https:\\/\\/[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}\\/project\\/\\d+\\/interface\\/api\\/(\\d+)$/);

PS:第一次安装成功后,请重启浏览器或刷新目标页面

——————————————————————————————————

Quickly automate the yapi interface TS definition, one -click query in any station YAPI interface;

Support the configuration of the business domain name;

Automatic matching interface page (/^https: \\/\\/[a-za-z0-9 .-]+\\. [A-Za-Z] {2, Project \\ D+\\ \\/Project \\ d+\\/interface \\/api \\/(\\ d+) $/);

PS: After the first installation is successful, please restart the browser or refresh the target page
Read more

Source Manifest.json

{"manifest_version": 3,"name": "YapiHelper","version": "0.0.4","description": "Yapi\u6587\u6863Ts\u63a5\u53e3\u5b9a\u4e49\u8f6c\u6362","icons": {"16": "static/images/icon16.png","32": "static/images/icon48.png","48": "static/images/icon128.png","128": "static/images/icon200.png"},"background": {"service_worker": "js/background.js","type": "module"},"options_page": "pages/options.html","action": {"default_icon": "static/images/icon16.png","default_title": "","default_popup": "pages/popup.html"},"content_scripts": [ {"js": ["js/jquery.min.js","js/codemirror.min.js","js/javascript.min.js","js/foldgutter.min.js","js/clike.min.js","js/toJson.js","js/rawtots.js", "js/index.js"],"css": ["css/codemirror.css", "css/seti.min.css", "css/darcula.min.css","css/foldgutter.min.css","css/ui.css"],"matches": ["*://*/*"],"run_at": "document_end" } ], "commands": { "_execute_browser_action": { "suggested_key": { "default": "Ctrl+Shift+F", "mac": "MacCtrl+Shift+F" }, "description": "Opens popup.html" } },"permissions": ["storage","scripting"],"optional_permissions": [],"host_permissions": [],"optional_host_permissions": [],"update_url": "https://clients2.google.com/service/update2/crx"}
Read more

How to download and manually install YapiHelper extension for Chrome

Looking for a way to install YapiHelper extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install YapiHelper extensions manually, this article outlines two simple methods to effortlessly install YapiHelper extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download YapiHelper extension and manually install through Drag &Drop

If you ever need to manually install a YapiHelper extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the YapiHelper Extension by clicking the "Download CRX" button on the website.

Look for the YapiHelper extension you wish to install. Go to the website and download the YapiHelper extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for YapiHelper extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the YapiHelper extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download YapiHelper extension for Chrome and install in Developer Mode

This is another method to install YapiHelper extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the YapiHelper extension file

Select and download the YapiHelper extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the YapiHelper extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your YapiHelper extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the YapiHelper extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install YapiHelper extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

FeHelper(前端助手) Extension · Developer Tools 77 321 ★ 2.72MiB

icon

Vue.js devtools Extension · Developer Tools 77 43 ★ 2.08MiB

icon

YApi-X Extension · Developer Tools 77 13 ★ 13.74KiB

icon

Api2Code Extension · Developer Tools 77 5 ★ 3.66MiB

icon

稀土掘金 Extension · Productivity 77 339 ★ 4.66MiB

icon

Octotree - GitHub code tree Extension · Developer Tools 77 1139 ★ 3.54MiB

icon

JSON-handle Extension · Developer Tools 77 450 ★ 193KiB

icon

Console Importer Extension · Developer Tools 77 20 ★ 9.55KiB

icon

codebox-one click code copying without login Extension · Developer Tools 77 44 ★ 5.78MiB

icon

Element Theme Roller Extension · Developer Tools 77 12 ★ 1.98MiB

icon

aigc-api Extension · Developer Tools 77 1 ★ 76.74KiB

icon

Ajax Modifier Extension · Developer Tools 77 48 ★ 2.08MiB

icon

yapi-ts Extension · Developer Tools 77 1 ★ 33.2KiB

icon

Omni - Bookmark, History, & Tab Manager Extension · Productivity 77 63 ★ 1.91MiB

icon

草料二维码-快速生码和解码工具 Extension · Accessibility 77 73 ★ 289KiB

icon

Formily DevTools Extension · Developer Tools 77 4 ★ 2.43MiB

icon

Vue.js devtools (beta) Extension · Developer Tools 77 149 ★ 2.54MiB

icon

SpanTree Extension · Developer Tools 77 28 ★ 473KiB

icon

Apifox Browser Extension Extension · Developer Tools 77 9 ★ 28.39KiB

icon

Web UI Layout View Extension · Developer Tools 77 0 ★ 17.22KiB

icon

Mock:Intercept and directly return data Extension · Developer Tools 77 6 ★ 487KiB

icon

PostWoman Http Test Extension · Developer Tools 77 46 ★ 834KiB

icon

Gitako - GitHub file tree Extension · Developer Tools 77 78 ★ 1.96MiB

icon

File Icons for GitHub and GitLab Extension · Developer Tools 77 48 ★ 460KiB

User reviews

icon

李斯月 (ID: 00000082d1d3d266) Voted 5 ★ - Updated 05/12/2023 首先,这个工具非常方便实用,可以帮助您快速地解析 TypeScript 代码,从而在 YAPI 平台上快速地生成接口文档。不仅如此,它还支持自定义配置,可以根据您的具体需求进行灵活调整。 此外,这个工具非常稳定可靠,能够准确地解析 TypeScript 代码,并且对于各种类型的注释都有良好的支持。这意味着您可以放心地将其用于生产环境,从而提高您的工作效率和开发质量。 总之,这个 YAPI 解析 TypeScript 工具是一款非常出色的工具,能够帮助您轻松地生成接口文档,并且具有稳定可靠的性能和灵活可配置的特点。如果您需要解析 TypeScript 代码并且使用 YAPI 平台,那么这个工具绝对是您的不二之选!