@types/sizeof
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sizeof

Weekly Downloads

480

Version

1.0.3

License

MIT

Unpacked Size

2.86 kB

Total Files

5

Last publish

Collaborators

  • types