Format size, permissions, etc.
Format could be used in browser or node.
const format = require('format-io');
const size = 1024 * 1024 * 5;
format.size(size);
// returns
'5.00mb';
const perm = '00777';
format.permissions.symbolic(perm);
// returns
'rwx rwx rwx';
const perm = 'rwx rwx rwx';
format.permissions.numeric(perm);
// returns
'00777';
MIT