Angular 4+ Utilities
Directives
...more to come soon!
Install
yarn add @nglibrary/utils
Import in your app
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { UtilsModule } from '@nglibrary/utils'; // <---
@NgModule({
declarations: [ AppComponent ],
imports: [
UtilsModule.forRoot( /* global config */ ) // <---
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }