A filesize.js pipe for Angular
Pipe name was changed from {{ 123 | bytes }}
to {{ 123 | filesize }}
npm install ngx-filesize
import {NgxFilesizeModule} from 'ngx-filesize';
// ...
@NgModule({
// ...
imports: [
// ...
NgxFilesizeModule,
// ...
]
// ...
})
{{bytes | filesize}}