npm install --save @types/magic-number
This package contains type definitions for magic-number (https://github.com/stpettersens/node-magic-number).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/magic-number.
export function detectFile(file: string): string;
export function detectType(data: any): string;
- Last updated: Mon, 06 Jan 2025 18:02:26 GMT
- Dependencies: none
These definitions were written by Sam Saint-Pettersen.