@monsenso/auth-api

JavaScript and TypeScript client for Monsenso's Auth service.

Stats

StarsIssuesVersionUpdatedCreatedSize
@monsenso/auth-api
11.2.0-prerelease.6632 years ago3 years agoMinified + gzip package size for @monsenso/auth-api in KB

Readme

@monsenso/auth-api

JavaScript and TypeScript client for Monsenso's Auth service.

Using the client

  • Provide the base url of the DataService the client shall target, e.g.:

    import { AuthModuleApi, BASE_URL } from '@monsenso/auth-api'
    
    @NgModule({
        imports: [
          AuthApiModule
        ],
        providers: [
            { provide: BASE_URL, useValue: 'https://auth.dev.monsenso.com' }
        ]
    })
    export class MyModule { ... }
    
  • The AuthApi class contains a function for each operation supported by the AuthService.

Generating the client

cd client
yarn
yarn generate

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.