@aya-flights/ngx-goox-lib
TypeScript icon, indicating that this package has built-in type declarations

1.18.195 • Public • Published

NgxGooxLib

TypeScript client library for GooX API, for Angular applications (for Angular 18).

How to use The Library

  1. Add the package to your package.json file
  2. In your Angular application, add the module
// app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

import { GooxLibModule } from '@mottyc/ngx-goox-lib'; // <-- import the module

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    GooxLibModule.forRoot({ // <-- include it in your app module
      api: 'http://localhost:8080/v1' // <-- configure GooxAPI url
    })
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

GooxConfig

  • api [string] configure Goox API url.

Package Sidebar

Install

npm i @aya-flights/ngx-goox-lib

Weekly Downloads

85

Version

1.18.195

License

MIT

Unpacked Size

1.43 MB

Total Files

234

Last publish

Collaborators

  • mottyc-aya-flights