New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@jserwang/scripts

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jserwang/scripts

脚本集合

latest
npmnpm
Version
1.1.5
Version published
Maintainers
1
Created
Source

脚本集合

安装

pnpm add @jserwang/scripts -D

使用

package.json中的scripts添加:

  • 根据yapi生成接口
jserwang api --token ${REPLACE_TOKEN} --host ${REPLACE_HOST} --path ${REPLACE_TARGET_PATH --type ${REPLACE_TYPE} --prefix ${REPLACE_API_PREFIX} 

如:

jserwang api --token xxxx --host https://xxx --path /test/api --type YAPI --prefix /mobile

注意

  • 当工具发出 发现后端定义接口参数类型异常,接口地址为: 'xxxx'时,请及时找后端询问是否参数定义存在问题,正常来说,请求参数应明确类型。

FAQs

Package last updated on 21 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts