@ty-ras/metadata
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Typesafe REST API Specification - Metadata

This package contains some of the most commonly used metadata-related constructs to be used on backend side in Typesafe REST API Specification (TyRAS) package family. Typically, this module is consumed only by other TyRAS packages.

Notice that this module does not have runtime specification - it only is useable during TypeScript compilation. This is why import type syntax must be used when importing this module:

import type * as metadata from "@ty-ras/metadata";

This way, there will be no import/require statement emitted for the result .js file, thus avoiding runtime errors.

Readme

Keywords

none

Package Sidebar

Install

npm i @ty-ras/metadata

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

16.6 kB

Total Files

7

Last publish

Collaborators

  • staz