itc-converter 1.0.2 β†’ 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # itc-converter πŸ€–
2
+
3
+ An automated CLI tool for Termux (Android) that automatically scans your phone storage for a black and white PNG icon, converts it into optimized SVG code, wraps it in a responsive HTML template, and saves the result directly to your user-accessible storage.
4
+
5
+ ## Features ✨
6
+ * πŸ” **Auto-Scan:** Automatically searches your `/sdcard` storage to find the source file.
7
+ * πŸ“¦ **Zero Directory Mess:** No need to manually move files into Termux hidden folders.
8
+ * πŸ“‚ **Auto-Folder Creation:** Creates `Download/Codex` in your internal storage if it doesn't exist.
9
+ * 🧼 **Auto-Cleanup:** Completely wipes temporary conversion artifacts and deletes the original heavy PNG from your phone to save space.
10
+
11
+ ## Installation πŸš€
12
+
13
+ Before installing, make sure you have granted storage access to Termux and installed Node.js:
14
+
15
+ ```bash
16
+ termux-setup-storage
17
+ pkg update && pkg install nodejs -y
18
+ npm install -g itc-converter
19
+
20
+
21
+ How to Use 🏁
22
+ ​Place any black and white image or silhouette into any folder on your phone and rename it exactly to Icons.png.
23
+ ​Open Termux (from any directory) and run:
24
+
25
+ trace-png
26
+
27
+
28
+ 3. ​Find your ready-to-use vector web page in the Download/Codex/Icons.html file on your phone!
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "itc-converter",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "An automated CLI tool to scan phone storage, convert PNG icons to SVG, and pack them into an HTML view.",
5
5
  "main": "converter.js",
6
6
  "bin": {
7
7
  "trace-png": "./converter.js"
8
8
  },
9
9
  "dependencies": {
10
- "potrace": "^0.2.0"
10
+ "potrace": "^2.1.8"
11
11
  },
12
12
  "keywords": [
13
13
  "png",