UNPKG

bytez

Version:

Convert bytes to human readable string.

12 lines 367 B
/** * Takes a number argument representing bytes and returns a formated, condesnsed string. * @param {number|string} bytes * @param {Object} optionsObject * @returns {string} * * @example * console.log(bytez(124000)) */ declare function bytez(bytes: number | string, optionsObject: any): string; export = bytez; //# sourceMappingURL=index.d.ts.map