@sirusdev/ec-client-angular
TypeScript icon, indicating that this package has built-in type declarations

0.0.16 • Public • Published

EC Client Angular

Edge central client library designed for Angular framework

Getting Started

To use this library simply add to your package dep. and register on your root modules with desired configurations.

  1. install using npm

    npm i @sirusdev/ec-client-angular
  2. register this client on root modules

    @NgModule({
      declarations: [AppComponent],
      entryComponents: [],
      imports: [
        ...
        EdgeCentralModule.forRoot({
          edgeCN: 'ec.qh.sirus.dev',
          ecvcHost: 'ecvc.qh.sirus.dev',
          cloudCentralHost: 'api-cc.qh.sirus.dev',
          // set insecure to true when you are using insecure endpoint like localahost
          inSecure: true // optional
        }),
      ],
      ...
      bootstrap: [AppComponent]
    })

Readme

Keywords

none

Package Sidebar

Install

npm i @sirusdev/ec-client-angular

Weekly Downloads

1

Version

0.0.16

License

none

Unpacked Size

461 kB

Total Files

48

Last publish

Collaborators

  • hasan-sirus
  • rahmat.sirus
  • rizkirachyan