Skip to content

Commit d526b8c

Browse files
committed
move to package @MCMicS
1 parent ef2d071 commit d526b8c

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

README.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
# dist-exiftool
2+
Fork of [https://github.com/Sobesednik/dist-exiftool](https://github.com/Sobesednik/dist-exiftool)
3+
24
A distribution of _exiftool_. Depending on the platform, it will install
3-
either [exiftool.pl](https://www.npmjs.com/package/exiftool.pl) or
4-
[exiftool.exe](https://www.npmjs.com/package/exiftool.exe) module.
5+
either [exiftool.pl](https://www.npmjs.com/package/@mcmics/exiftool.pl) or
6+
[exiftool.exe](https://www.npmjs.com/package/@mcmics/exiftool.exe) module.
57
Current version is 12.23.
68

7-
[![npm version](https://badge.fury.io/js/dist-exiftool.svg)](https://badge.fury.io/js/dist-exiftool)
8-
[![Build Status](https://travis-ci.org/Sobesednik/dist-exiftool.svg?branch=master)](https://travis-ci.org/Sobesednik/dist-exiftool)
9-
[![Build status](https://ci.appveyor.com/api/projects/status/7vc08npcgna2xgjt/branch/master?svg=true)](https://ci.appveyor.com/project/zavr-1/dist-exiftool/branch/master)
9+
[![npm version](https://badge.fury.io/js/%40mcmics%2Fdist-exiftool.svg)](https://badge.fury.io/js/%40mcmics%2Fdist-exiftool)
10+
[![Build Status](https://api.travis-ci.com/MCMicS/dist-exiftool.svg?branch=master)](https://travis-ci.com/github/MCMicS/dist-exiftool)
11+
[![Build status](https://ci.appveyor.com/api/projects/status/aey678ctf4uj8rec/branch/master?svg=true)](https://ci.appveyor.com/project/MCMicS/dist-exiftool/branch/master)
1012

1113
## Usage
1214
The module exports a path to the exiftool executable.
1315

1416
```js
1517
const execFile = require('child_process').execFile;
16-
const exiftool = require('dist-exiftool');
18+
const exiftool = require('@mcmics/dist-exiftool');
1719

1820
execFile(exiftool, ['-j', 'image.jpg'], (error, stdout, stderr) => {
1921
if (error) {

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = process.platform === 'win32' ? require('exiftool.exe') : require('exiftool.pl');
1+
module.exports = process.platform === 'win32' ? require('@mcmics/exiftool.exe') : require('@mcmics/exiftool.pl');

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "dist-exiftool",
2+
"name": "@mcmics/dist-exiftool",
33
"version": "12.23.0",
44
"description": "Platform-dependent distribution of exiftool.",
55
"main": "index.js",
@@ -9,17 +9,17 @@
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/Sobesednik/dist-exiftool.git"
12+
"url": "git+https://github.com/MCMicS/dist-exiftool.git"
1313
},
1414
"keywords": [
1515
"exiftool"
1616
],
1717
"author": "Anton <[email protected]>",
1818
"license": "Artistic-2.0",
1919
"bugs": {
20-
"url": "https://github.com/Sobesednik/dist-exiftool/issues"
20+
"url": "https://github.com/MCMicS/dist-exiftool/issues"
2121
},
22-
"homepage": "https://github.com/Sobesednik/dist-exiftool#readme",
22+
"homepage": "https://github.com/MCMicS/dist-exiftool#readme",
2323
"devDependencies": {
2424
"cross-env": "5.0.0",
2525
"zoroaster": "0.4.4"
@@ -28,25 +28,25 @@
2828
"platform-dependent-modules": "0.0.14"
2929
},
3030
"optionalDependencies": {
31-
"exiftool.exe": "12.23",
32-
"exiftool.pl": "12.23"
31+
"@mcmics/exiftool.exe": "^12.23.0",
32+
"@mcmics/exiftool.pl": "12.23"
3333
},
3434
"config": {
3535
"platformDependentModules": {
3636
"linux": [
37-
37+
3838
],
3939
"win32": [
40-
40+
4141
],
4242
"darwin": [
43-
43+
4444
],
4545
"freebsd": [
46-
46+
4747
],
4848
"sunos": [
49-
49+
5050
]
5151
}
5252
}

test/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ function exec(file, args) {
1515
module.exports = {
1616
'should export a path to current executable': () => {
1717
if (process.platform === 'win32') {
18-
const exePath = path.join(__dirname, '../node_modules/exiftool.exe/vendor/exiftool.exe')
18+
const exePath = path.join(__dirname, '../node_modules/@mcmics/exiftool.exe/vendor/exiftool.exe')
1919
assert.equal(exiftool, exePath)
2020
} else {
21-
const plPath = path.join(__dirname, '../node_modules/exiftool.pl/vendor/exiftool')
21+
const plPath = path.join(__dirname, '../node_modules/@mcmics/exiftool.pl/vendor/exiftool')
2222
assert.equal(exiftool, plPath)
2323
}
2424
},

0 commit comments

Comments
 (0)