anzenjs
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

Anzenjs

Introduction

Anzenjs is type-safe decorator library that help to ensure type-safety in runtime for typescript project. At compile time, it guards user from wrongly decorated property in class. At run time, it uses joi to validate input and transform it into correct decorated schema.

For examples please see the test directory. :)

Features

  • TODO

TODO

  • Add more tests.
  • Investigate some way to support more fine-grained type (like Email, Phone ...). Some ideas: newtype-ts
  • Maybe remove joi dependency from core library, so we can use it as a metadata library for other purpose?

Alternatives

There are some awesome libraries that solve the same problem domain:

Readme

Keywords

none

Package Sidebar

Install

npm i anzenjs

Weekly Downloads

9

Version

1.3.3

License

MIT

Unpacked Size

96.2 kB

Total Files

33

Last publish

Collaborators

  • yoshisaur