3.0.3 • Published 4 months ago

ngx-filesize v3.0.3

Weekly downloads
8,791
License
MIT
Repository
github
Last release
4 months ago

ngx-filesize

A filesize.js pipe for Angular.

3.0.0 breaking changes

  • ngx-filesize now supports & requires Angular 14+.
  • filesize is now a peer dependency (>= 6.0.0 < 10.0.0, note 10 isn't supported), and so it must be installed alongside ngx-filesize@^3.

2.0.0 breaking changes

Pipe name was changed from {{ 123 | bytes }} to {{ 123 | filesize }}

Usage:

npm install ngx-filesize filesize@9
# or 
yarn add ngx-filesize filesize@9

Import the NgxFilesizeModule into your own NgModule:

import {NgxFilesizeModule} from 'ngx-filesize';

// ...

@NgModule({
    // ...
    imports: [
        // ...
        NgxFilesizeModule,
        // ...
    ]
    // ...
})

And use the pipe in your templates:

{{ 123 | filesize }}
3.0.3

4 months ago

3.0.2

11 months ago

3.0.0-alpha.1

2 years ago

3.0.0-alpha.0

2 years ago

3.0.1

1 year ago

3.0.0

2 years ago

2.0.16

4 years ago

2.0.15

4 years ago

2.0.14

4 years ago

2.0.13

4 years ago

2.0.3

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.11

4 years ago

2.0.7

4 years ago

2.0.12

4 years ago

2.0.6

4 years ago

2.0.9

4 years ago

2.0.10

4 years ago

2.0.8

4 years ago

2.0.2

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago