0.0.1-27 • Published 2 years ago
@white55/tsx v0.0.1-27
Analyze the schema of the vue.tsx component
The current version only analyzes @Prop and @Emit
Cli
Usage: ztsx tsx2json [options]
tsx 转换成 schema
Options:
-c --conversion <fileFath> *.tsx => *.schema.json 转译单个文件
-ca --conversion-all <folderFath> *.tsx => *.schema.json 转译目录下所有tsx文件
-h, --help display help for command
JavaScript API
eg.1
const { tsx2json } = require("@white55/tsx");
tsx2json( FileAbsolutePath )
<!-- End -->
OUT File(1): ${TsxComponentName}.schema.json
eg.2
const { tsx2json } = require("@white55/tsx");
tsx2json( FolderAbsolutePath )
<!-- End -->
OUT File(n): ${TsxComponentName}.schema.json
0.0.1-27
2 years ago
0.0.1-26
2 years ago
0.0.1-25
2 years ago
0.0.1-24
2 years ago
0.0.1-23
2 years ago
0.0.1-22
2 years ago
0.0.1-21
2 years ago
0.0.1-19
2 years ago
0.0.1-18
2 years ago
0.0.1-17
2 years ago
0.0.1-16
2 years ago
0.0.1-15
2 years ago
0.0.1-14
2 years ago
0.0.1-13
2 years ago
0.0.1-11
2 years ago
0.0.1-10
2 years ago
0.0.1-9
2 years ago
0.0.1-8
2 years ago
0.0.1-7
2 years ago
0.0.1-5
2 years ago
0.0.1-4
2 years ago
0.0.1-3
2 years ago
0.0.1-2
2 years ago
0.0.1-1
2 years ago