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

raml-typesystem

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-typesystem

RAML TypeSystem

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
decreased by-15.89%
Maintainers
1
Weekly downloads
 
Created
Source

RAML TypeSystem

This module contains an lightweight implementation of typesystem for RAML 1.0

It allows you to do following things:

  • parse/dump types from JSON or abstract AST like interface using parseFromAST function

  • validate instances against type definitions

  • check that your type definitions and type hierarchies are valid

  • perform automatic classification of the instance

  • check that the type is suitable to serve for automatic classification

You also can introspect type system by calling builtinFacets and builtInTypes functions

You may compose types manually by deriving from already defined types or unifying them and adding restrictions and meta information to them by using TypeConstructor

FAQs

Package last updated on 26 Feb 2016

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