Create Pipe Using Angular CLI


How to create Angular Pipe Using CLI ?

You can use the following CLI command to create Pipe in your Angular project.

ng g pipe search

search is the name of the pipe. It creates a file called search.pipe.ts in your project.