0.0.1-27 • Published 3 years ago

@white55/tsx v0.0.1-27

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

3 years ago

0.0.1-26

3 years ago

0.0.1-25

3 years ago

0.0.1-24

3 years ago

0.0.1-23

3 years ago

0.0.1-22

3 years ago

0.0.1-21

3 years ago

0.0.1-19

3 years ago

0.0.1-18

3 years ago

0.0.1-17

3 years ago

0.0.1-16

3 years ago

0.0.1-15

3 years ago

0.0.1-14

3 years ago

0.0.1-13

3 years ago

0.0.1-11

3 years ago

0.0.1-10

3 years ago

0.0.1-9

3 years ago

0.0.1-8

3 years ago

0.0.1-7

3 years ago

0.0.1-5

3 years ago

0.0.1-4

3 years ago

0.0.1-3

3 years ago

0.0.1-2

3 years ago

0.0.1-1

3 years ago