1.5.3 • Published 7 months ago

@types/filesize-parser v1.5.3

Weekly downloads
1,531
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/filesize-parser

Summary

This package contains type definitions for filesize-parser (https://github.com/patrickkettner/filesize-parser#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/filesize-parser.

index.d.ts

// Type definitions for filesize-parser 1.5
// Project: https://github.com/patrickkettner/filesize-parser#readme
// Definitions by: Gary King <https://github.com/garyking>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function filesizeParser(size: string | number, options?: Options): number;

interface Options {
    base: 2 | 10;
}

export = filesizeParser;

Additional Details

  • Last updated: Thu, 05 Aug 2021 00:01:21 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Gary King.