Current collected state Current
Observed since 20 Oct, 22:17 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
根据 [v2fly](https://v2fly.org/) 文档,自动生成 JSON Schema 和 TypeScript typedef
根据 v2fly 文档,自动生成 JSON Schema 和 TypeScript typedef
官方文档: json-schemas-and-settings
示例:
在项目中添加 .vscode/settings.json 配置文件,并设置 json.schemas 字段如下:
{
"json.schemas": [
{
"fileMatch": ["/*.json", "/*.jsonc"],
"url": "https://raw.githubusercontent.com/0x-jerry/v2ray-config-json-schema/master/v2fly.schema.json"
}
]
}
安装:pnpm i @0x-jerry/v2ray-schema -D
typescript:
import type { V2FlyConfig } from '@0x-jerry/v2ray-schema'
const v2raySchema: V2FlyConfig = {
...
}
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:17 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:70dacbd717d348372b01dda6e426be9493933006ae58bfee867272ce71b10ee0