Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
npm: image-size
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed Jun 12, 2017
1 parent 5511787 commit 3d87aca
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dictionary/image-size.js
@@ -0,0 +1,4 @@
'use strict';

module.exports = {
};
8 changes: 8 additions & 0 deletions test/test-79-npm/image-size/image-size.js
@@ -0,0 +1,8 @@
'use strict';

var path = require('path');
var sizeOf = require('image-size');
var dimensions = sizeOf(path.join(__dirname, 'viewbox.svg'));
if (dimensions.width === 123) {
console.log('ok');
}
1 change: 1 addition & 0 deletions test/test-79-npm/image-size/package.json
@@ -0,0 +1 @@
{ "private": true }
4 changes: 4 additions & 0 deletions test/test-79-npm/image-size/viewbox.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d87aca

Please sign in to comment.