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

@oas-tools/commons

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oas-tools/commons

Utility library for the development of new features and modules for oas-tools project

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Commons Library

NPM

npm node-current npm Known Vulnerabilities Conventional Commits

About

OAS Devtools is an utility library for the development of new features and modules for oas-tools project. It provides functions and classes that helps to easily create new functionality for OAS Tools servers.

v1.0.0 Features

  • Error Classes:
    • ConfigError: Error class for configuration errors.
    • UnsupportedError: Error class for unsupported features.
    • ValidationError: Error class for validation errors.
    • RequestValidationError: Error class for client request validation errors.
    • ResponseValidationError: Error class for server response validation errors.
    • RoutingError: Error class for routing errors.
    • SecurityError: Error class for security errors.
    • AuthError: Error class for authentication errors.
  • Logger: Logger class built through composition over a winston logger.
  • Validator: Validation functions for OpenAPI Specification v3.
  • Middleware:
    • OASBase: Base class for all middlewares.

FAQs

Package last updated on 07 Mar 2023

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