@ebenefitsbv/odata-v4-ng

Client side OData V4 typescript library for Angular, continuance on the version originally built by Riccardo Mariani

Usage no npm install needed!

<script type="module">
  import ebenefitsbvOdataV4Ng from 'https://cdn.skypack.dev/@ebenefitsbv/odata-v4-ng';
</script>

README

odata-v4-ng

This project is a client side OData V4 typescript library for Angular. The goal is to create an easy to understand fluent API for querying, creating, updating and deleting OData resources in modern version of Angular.

Install

To install the package use npm install --save @ebenefitsbv/odata-v4-ng

Import

import { AppComponent } from './app.component';
import { ODataModule } from 'odata-v4-ng';
...

@NgModule({
  declarations: [
    AppComponent
    ...
  ],
  imports: [
    ODataModule
    ...
  ],
  bootstrap: [ AppComponent ]
})
export class AppModule { }

Usage examples

See here.

Changelog

See here.

Compatiblity

Angular Version @ebenefits/odata-v4-ng version
9.x.x - 12.x.x Use the original version: https://github.com/riccardomariani/odata-v4-ng
13.x.x 13.x.x