image-size-reader
1.0.0 • Public • Published
image-size-reader
Gets the width and height size of the image
Installation
$ npm install image-size-reader
Example
const reader = require('image-size-reader');
reader(tgtFilePath).then((result) => {
console.log(result); // [width, height]
});
Licence
MIT
Package Sidebar
Install
Weekly Downloads