Installation
npm install --save @types/sizeof
Summary
This package contains type definitions for sizeof (https://github.com/lyroyce/sizeof).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sizeof.
index.d.ts
export function sizeof(object: any, pretty?: false): number;
export function sizeof(object: any, pretty: true): string;
export function format(bytes: number): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Daniel Perez Alvarez.