New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deckchair-technicians/vice

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deckchair-technicians/vice

Validation and coercion toolkit

  • 0.1.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
59
increased by11.32%
Maintainers
2
Weekly downloads
 
Created
Source

build status npm version

Why?

  • Schema and class are defined in the same place
  • Less noisy and verbose that field decorators
  • Schema can be separated from the class, and created without a class
  • Type safety ensure schema output matches intended field type
  • Provide some reassurance that if x instanceof SomeDataClass, then x conforms to the schema of SomeClass. Removes the need to consider whether x needs to be validated again.

How to run the tests in WebStorm

Remember to add --require require-ts-node.js to Extra Mocha Options in the runner config screen

FAQs

Package last updated on 25 Jan 2020

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