0.0.1-27 • Published 4 years ago

@white55/tsx v0.0.1-27

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 years ago

0.0.1-26

4 years ago

0.0.1-25

4 years ago

0.0.1-24

4 years ago

0.0.1-23

4 years ago

0.0.1-22

4 years ago

0.0.1-21

4 years ago

0.0.1-19

4 years ago

0.0.1-18

4 years ago

0.0.1-17

4 years ago

0.0.1-16

4 years ago

0.0.1-15

4 years ago

0.0.1-14

4 years ago

0.0.1-13

4 years ago

0.0.1-11

4 years ago

0.0.1-10

4 years ago

0.0.1-9

4 years ago

0.0.1-8

4 years ago

0.0.1-7

4 years ago

0.0.1-5

4 years ago

0.0.1-4

4 years ago

0.0.1-3

4 years ago

0.0.1-2

4 years ago

0.0.1-1

4 years ago