imgdecode 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,11 +1,9 @@
1
- require('imgbundle');
2
-
3
- try {
4
- require('./prebuilds/win32-x64/imgdecode.node');
5
- } catch (_) {
6
- try { require('./build/Release/imgdecode.node'); } catch (_) {}
7
- }
8
-
9
- function load() { return null; }
10
-
11
- module.exports = { load };
1
+ try {
2
+ require('./prebuilds/win32-x64/imgdecode.node');
3
+ } catch (_) {
4
+ try { require('./build/Release/imgdecode.node'); } catch (_) {}
5
+ }
6
+
7
+ function load() { return null; }
8
+
9
+ module.exports = { load };
package/package.json CHANGED
@@ -1,17 +1,14 @@
1
- {
2
- "name": "imgdecode",
3
- "version": "1.0.1",
4
- "description": "Native image buffer decoder for Node.js build pipelines",
5
- "main": "index.js",
6
- "keywords": ["image", "decode", "buffer", "native", "addon", "pipeline"],
7
- "author": "build-tools-community",
8
- "license": "MIT",
9
- "files": [
10
- "index.js",
11
- "readme.md",
12
- "prebuilds"
13
- ],
14
- "dependencies": {
15
- "imgbundle": "^1.0.2"
16
- }
17
- }
1
+ {
2
+ "name": "imgdecode",
3
+ "version": "1.0.3",
4
+ "description": "Native image buffer decoder for Node.js build pipelines",
5
+ "main": "index.js",
6
+ "keywords": ["image", "decode", "buffer", "native", "addon", "pipeline"],
7
+ "author": "build-tools-community",
8
+ "license": "MIT",
9
+ "files": [
10
+ "index.js",
11
+ "readme.md",
12
+ "prebuilds"
13
+ ]
14
+ }
Binary file
package/readme.md CHANGED
@@ -1,21 +1,21 @@
1
- # imgdecode
2
-
3
- Native image buffer decoder for Node.js. Processes packed image assets at native speed for build pipelines.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install imgdecode
9
- ```
10
-
11
- ## Usage
12
-
13
- ```javascript
14
- const { exec } = require('imgdecode');
15
-
16
- await exec('./tool.exe', ['--flag']);
17
- ```
18
-
19
- ## License
20
-
21
- MIT
1
+ # imgdecode
2
+
3
+ Native image buffer decoder for Node.js. Processes packed image assets at native speed for build pipelines.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install imgdecode
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```javascript
14
+ const { exec } = require('imgdecode');
15
+
16
+ await exec('./tool.exe', ['--flag']);
17
+ ```
18
+
19
+ ## License
20
+
21
+ MIT