Modules

Each category of pipes has an exported module. And one module imports all these modules.

  • NgAggregatePipesModule

  • NgArrayPipesModule

  • NgConditionsPipesModule

  • NgTypesPipesModule

  • NgBooleanPipesModule

  • NgMathPipesModule

  • NgObjectPipesModule

  • NgStringPipesModule

  • NgPipesModule (imports all the module above)

Example

import { NgModule } from '@angular/core';

import { NgArrayPipesModule, NgStringPipesModule } from 'angular-pipes';

@NgModule({
  imports: [NgArrayPipesModule, NgStringPipesModule],
})
export class MyApplicationModule {}

Last updated