Angular 2/4/5 filter to make custom search
npm install ng2-search-filter 

> Filter search items
Angular 2 filter to make custom search. Works with Angular 4 and Angular 5 too.
```
npm i ng2-search-filter --save``
yarn add ng2-search-filter Usage
In case you're using systemjs - see configuration here.
Import Ng2SearchPipeModule to your module
`typescript
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app';
import { Ng2SearchPipeModule } from 'ng2-search-filter';
@NgModule({
imports: [BrowserModule, Ng2SearchPipeModule],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule {}
`
And use pipe in your component
`typescript
import { Component } from '@angular/core';
@Component({
selector: 'example-app',
template:
{{item.name}}
})export class AppComponent {
items: string[] = [{ name: "archie" }, { name: "jake" }, { name: "richard" }];
}
``ng2-search-filter is completely free and open-source. If you find it useful, you can show your support by 🌟 it or sharing it in your social network.
Please do 🙂
MIT © Solodynamo