0.0.8 • Published 20 days ago

@shadow-library/class-schema v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
20 days ago

@shadow-library/class-schema

class-schema is a powerful and intuitive npm package that lets developers create JSON schemas by decorating TypeScript class properties. This package simplifies schema generation, making it easy to validate data structures, define API contracts, and enforce data consistency.

Features

  • Decorator-Based Schema Generation: Use decorators on your class properties to automatically generate JSON schemas.
  • TypeScript Integration: Built with TypeScript, providing strong type-checking and auto-completion.
  • Schema Validation: Generate JSON schemas for validation and data integrity checks.
  • Flexible and Extensible: Customize the schema generation using decorators that fit your data needs.

Installation

To get started, install the package using npm or yarn:

# npm
npm install @shadow-library/class-schema

# yarn
yarn add @shadow-library/class-schema

# pnpm
pnpm add @shadow-library/class-schema
0.0.8

20 days ago

0.0.7

2 months ago

0.0.6

2 months ago

0.0.5

6 months ago

0.0.4

7 months ago

0.0.10-0

7 months ago

0.0.9-0

7 months ago

0.0.8-0

7 months ago

0.0.7-0

7 months ago

0.0.6-0

7 months ago

0.0.5-0

7 months ago

0.0.4-0

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago