@tuzki/tools-schema
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@tuzki/tools-schema

低代码 Schema 生成包和校验包

快速开始

import { validate, ValidateResult } from '@tuzki/tools-schema';
import CmplibModelV1 from '../src/schemas/cmplib_model.v1.0.0.0.0.json';

const result: ValidateResult = await validate<CmplibConfigV1>({
  schema: CmplibModelV1,
  data: {
    // 真实数据
  },
});

console.log(result);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.00next
1.1.00latest
1.0.8-alpha.10dev
1.0.140sit

Version History

VersionDownloads (Last 7 Days)Published
2.0.00
1.1.2-alpha.60
1.1.2-alpha.50
1.1.2-alpha.40
1.1.2-alpha.30
1.1.2-alpha.20
1.1.2-alpha.10
1.1.2-alpha.00
1.1.10
1.1.1-alpha.30
1.1.1-alpha.20
1.1.1-alpha.10
1.1.1-alpha.00
1.1.00
1.0.34-alpha.10
1.0.34-alpha.00
1.0.330
1.0.320
1.0.311
1.0.300
1.0.290
1.0.280
1.0.28-alpha.00
1.0.270
1.0.27-alpha.00
1.0.260
1.0.26-alpha.130
1.0.26-alpha.120
1.0.26-alpha.110
1.0.26-alpha.100
1.0.26-alpha.90
1.0.26-alpha.80
1.0.26-alpha.70
1.0.26-alpha.60
2.0.0-alpha.60
1.0.26-alpha.50
1.0.26-alpha.40
1.0.26-alpha.30
1.0.26-alpha.20
1.0.26-alpha.10
1.0.26-alpha.00
1.0.250
1.0.25-alpha.50
1.0.25-alpha.40
1.0.25-alpha.30
1.0.25-alpha.20
1.0.25-alpha.10
1.0.25-alpha.00
1.0.240
1.0.230
1.0.23-alpha.00
1.0.220
1.0.22-alpha.40
1.0.22-alpha.30
1.0.22-alpha.20
1.0.22-alpha.10
1.0.22-alpha.00
1.0.210
1.0.21-alpha.70
1.0.21-alpha.60
1.0.21-alpha.51
1.0.21-alpha.40
1.0.21-alpha.30
1.0.21-alpha.20
1.0.21-alpha.10
1.0.21-alpha.00
1.0.200
1.0.20-alpha.00
1.0.190
1.0.19-alpha.60
1.0.19-alpha.50
1.0.19-alpha.40
1.0.19-alpha.30
1.0.19-alpha.20
1.0.19-alpha.10
1.0.19-alpha.00
1.0.180
1.0.18-alpha.30
1.0.18-alpha.20
1.0.18-alpha.10
1.0.18-alpha.00
1.0.170
1.0.160
1.0.16-alpha.40
1.0.16-alpha.30
1.0.16-alpha.20
1.0.16-alpha.10
1.0.16-alpha.00
1.0.150
1.0.15-alpha.00
1.0.140
1.0.130
1.0.13-alpha.00
1.0.120
1.0.12-alpha.10
1.0.12-alpha.00
1.0.110
1.0.100
1.0.10-alpha.10
1.0.90
1.0.8-alpha.10
1.0.80
1.0.8-alpha.00
1.0.70
1.0.60
1.0.6-alpha.50
1.0.6-alpha.40
1.0.6-alpha.30
1.0.6-alpha.20
1.0.6-alpha.10
1.0.6-alpha.00
1.0.50
1.0.5-alpha.60
1.0.5-alpha.50
1.0.5-alpha.40
1.0.5-alpha.30
1.0.5-alpha.20
1.0.5-alpha.10
1.0.5-alpha.00
1.0.40
1.0.30
1.0.3-alpha.50
1.0.3-alpha.40
1.0.3-alpha.30
1.0.3-alpha.20
1.0.3-alpha.10
1.0.3-alpha.00
1.0.20
1.0.2-alpha.00
1.0.10
1.0.00
0.0.1-alpha.620
0.0.1-alpha.610
0.0.1-alpha.600
0.0.1-alpha.590
0.0.1-alpha.580
0.0.1-alpha.570
0.0.1-alpha.560
0.0.1-alpha.550
0.0.1-alpha.540
0.0.1-alpha.530
0.0.1-alpha.520
0.0.1-alpha.510
0.0.1-alpha.500
0.0.1-alpha.491
0.0.1-alpha.480
0.0.1-alpha.470
0.0.1-alpha.460
0.0.1-alpha.450
0.0.1-alpha.440
0.0.1-alpha.430
0.0.1-alpha.420
0.0.1-alpha.410
0.0.1-alpha.400
0.0.1-alpha.390
0.0.1-alpha.380
0.0.1-alpha.370
0.0.1-alpha.360
0.0.1-alpha.350
0.0.1-alpha.340
0.0.1-alpha.330
0.0.1-alpha.320
0.0.1-alpha.310
0.0.1-alpha.300
0.0.1-alpha.290
0.0.1-alpha.280
0.0.1-alpha.271
0.0.1-alpha.260
0.0.1-alpha.250
0.0.1-alpha.240
0.0.1-alpha.230
0.0.1-alpha.220
0.0.1-alpha.210
0.0.1-alpha.200
0.0.1-alpha.190
0.0.1-alpha.180
0.0.1-alpha.171
0.0.1-alpha.160
0.0.1-alpha.150
0.0.1-alpha.140
0.0.1-alpha.130
0.0.1-alpha.120
0.0.1-alpha.110
0.0.1-alpha.100
0.0.1-alpha.90
0.0.1-alpha.80
0.0.1-alpha.70
0.0.1-alpha.60
0.0.1-alpha.50
0.0.1-alpha.40
0.0.1-alpha.30
0.0.1-alpha.20
0.0.1-alpha.10

Package Sidebar

Install

npm i @tuzki/tools-schema

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

126 kB

Total Files

55

Last publish

Collaborators

  • oceania
  • xuexing
  • nichubiao
  • jinxu0918
  • jiyu.shao
  • lilong767676