Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anzenjs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anzenjs

Joi-powered type-safe decorator library to ensure runtime type safe

  • 1.3.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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:

FAQs

Package last updated on 17 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc