Catalog npm
PACKAGE EXPLORERView in registry

@0x-jerry/v2ray-schema

npm

根据 [v2fly](https://v2fly.org/) 文档,自动生成 JSON Schema 和 TypeScript typedef

Versions collected11
Direct dependencies13From release 2.0.0
Last observed20 Oct, 22:17 UTC

README

Current package documentation

V2ray config json schema

根据 v2fly 文档,自动生成 JSON Schema 和 TypeScript typedef

使用方式

Visual Studio Code

官方文档: 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"
    }
  ]
}

Nodejs

安装:pnpm i @0x-jerry/v2ray-schema -D

typescript:

import type { V2FlyConfig } from '@0x-jerry/v2ray-schema'

const v2raySchema: V2FlyConfig = {
  ...
}

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 11

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.0Registry latest1 Mar 202513
1.0.510 Jul 202413
1.0.425 Feb 202413
1.0.326 Feb 202312
1.0.226 Feb 202312
1.0.126 Feb 202312
1.0.026 Feb 202312
0.3.04 May 202212
0.2.615 Feb 202211
0.2.515 Feb 202211
0.2.415 Feb 202211

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0x-jerry/v2ray-config-json-schema

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0x-jerry/v2fly-schema

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:70dacbd717d348372b01dda6e426be9493933006ae58bfee867272ce71b10ee0