Files: e9d9dec1d00ff365112ca0f981bbda15e3682528 / test / test-79-npm / image-size / image-size.js
196 bytesRaw
1 | ; |
2 | |
3 | var path = require('path'); |
4 | var sizeOf = require('image-size'); |
5 | var dimensions = sizeOf(path.join(__dirname, 'viewbox.svg')); |
6 | if (dimensions.width === 123) { |
7 | console.log('ok'); |
8 | } |
9 |
Built with git-ssb-web