This is a quick post to share with you 2 pipes that could prove useful in your Angular 6 project.

Times

This pipes allows you to use a number as an iterable in a *ngFor to multiply the same code a certain number of times.


See it in action on StackBlitz

Object as iterable

Another pipe for *ngFor, this one allows you to iterate an object’s keys instead of an array.


See it in action on StackBlitz