image-size
- Version 1.1.1
- Published
- 50 kB
- 1 dependency
- MIT license
Install
npm i image-size
yarn add image-size
pnpm add image-size
Overview
get dimensions of any image file
Index
Variables
Functions
Variables
variable types
const types: string[];
Functions
function disableFS
disableFS: (v: boolean) => void;
function disableTypes
disableTypes: (types: imageType[]) => void;
function imageSize
imageSize: { (input: Uint8Array | string): ISizeCalculationResult; (input: string, callback: CallbackFn): void;};
function setConcurrency
setConcurrency: (c: number) => void;
Package Files (1)
Dependencies (1)
Dev Dependencies (19)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/image-size
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/image-size)
- HTML<a href="https://www.jsdocs.io/package/image-size"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3141 ms. - Missing or incorrect documentation? Open an issue for this package.