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

odata-v4-metadata

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

odata-v4-metadata

OData metadata utilities

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
929
increased by152.45%
Maintainers
5
Weekly downloads
 
Created
Source

#OData V4 metadata classes

This library implements the EDM and EMDX classes from the OData CSDL V4.

Features

  • Edm and Edmx classes
  • will provide Validation logic - based on specs (-on the way)
  • will Download and parse metadata from $metadata document or uri endpoint

##Usage

$ npm install odata-v4-metadata

then just

import {Edm} from 'odata-v4-metadata'

let entityType = new edm.EntityType({ name: "Orders", property: [{ name:"OrderID", type:edm.Integer}]
entityType.properties.push(new Edm.Property(...))

Edm classes implemented

Edm.Action

Edm.ComplexType

Edm.EntityType

Edm.EnumType

Edm.Function

Edm.Member

Edm.NavigationProperty

Edm.Parameter

Edm.Property

Edm.PropertyRef

Edm.ReferentialConstraint

Edm.ReturnType

Edm.Schema

FAQs

Package last updated on 21 Jul 2017

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