Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
ng-configcat-publicapi
Advanced tools
[![Public API Angular CI](https://github.com/configcat/ng-configcat-publicapi/actions/workflows/ng-configcat-publicapi-ci.yml/badge.svg?branch=master)](https://github.com/configcat/ng-configcat-publicapi/actions/workflows/ng-configcat-publicapi-ci.yml) ![
ConfigCat Public API client for Angular. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
The client is generated by Swagger Swagger from the ConfigCat Public API.
via NPM package:
npm i ng-configcat-publicapi
In your Angular project:
import { ApiModule } from 'ng-configcat-publicapi';
import { HttpClientModule } from '@angular/common/http';
@NgModule({
imports: [
ApiModule,
// make sure to import the HttpClientModule in the AppModule only,
// see https://github.com/angular/angular/issues/20575
HttpClientModule
],
declarations: [ AppComponent ],
providers: [],
bootstrap: [ AppComponent ]
})
export class AppModule {}
import { ApiModule, Configuration, ConfigurationParameters } from 'ng-configcat-publicapi';
export function apiConfigFactory (): Configuration => {
const params: ConfigurationParameters = {
// set configuration parameters here.
}
return new Configuration(params);
}
@NgModule({
imports: [ ApiModule.forRoot(apiConfigFactory) ],
declarations: [ AppComponent ],
providers: [],
bootstrap: [ AppComponent ]
})
export class AppModule {}
import { ProductsService } from 'ng-configcat-publicapi';
export class AppComponent {
constructor(private productsService: ProductsService) { }
getProducts() {
this.productsService.v1ProductsGet().subscribe(products => {
// Do something with the products.
});
}
}
FAQs
[![Public API Angular CI](https://github.com/configcat/ng-configcat-publicapi/actions/workflows/ng-configcat-publicapi-ci.yml/badge.svg?branch=master)](https://github.com/configcat/ng-configcat-publicapi/actions/workflows/ng-configcat-publicapi-ci.yml) ![
The npm package ng-configcat-publicapi receives a total of 2 weekly downloads. As such, ng-configcat-publicapi popularity was classified as not popular.
We found that ng-configcat-publicapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.