Module
- D10: stable release
- D11: stable release
- D12: not supported
Format Bytes
Provides a Twig Extension, that you can use in your Twig Templates. In twig when you get the value of a file, the size is in simple bytes and if you're intending to show it to your end-user, it's not user-friendly, this simple Twig filter helps with that and renders the file size in it's respected:
drupal.org
composer require drupal/format_bytes66 out of 100
Solid
Mature and stable; rarely needs changes.
- Sites
- 1.8K
- Latest release
- 21 months ago
- Contributors (12 months)
- 0
- Open bugs
- 0
Why 66?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 1.8K sites, +22% in 12 months
- 41
- Activity
- No commits or releases in 12 months
- 4
- Community
- 2 maintainers can publish fixes; 0 people contributed this year
- 26
- Health
- 0 open bugs, 0 serious; 0 finished fixes waiting