animepic-utils 0.0.2 → 0.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/dist/pics.js CHANGED
@@ -6,6 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  require("dotenv/config");
7
7
  const image_utils_1 = __importDefault(require("./image-utils"));
8
8
  const start = async () => {
9
- console.log(image_utils_1.default.changeQualifiers("./downloads", "g"));
9
+ image_utils_1.default.changeQualifiers(process.env.FOLDER, "c");
10
10
  };
11
11
  start();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "animepic-utils",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Node.js utils for processing anime images",
5
5
  "main": "dist/image-utils.js",
6
6
  "types": "dist/image-utils.d.ts",
package/pics.ts CHANGED
@@ -2,7 +2,7 @@ import "dotenv/config"
2
2
  import imageUtils from "./image-utils"
3
3
 
4
4
  const start = async () => {
5
- console.log(imageUtils.changeQualifiers("./downloads", "g"))
5
+ imageUtils.changeQualifiers(process.env.FOLDER!, "c")
6
6
  }
7
7
 
8
8
  start()
package/readme.md CHANGED
@@ -54,8 +54,9 @@ await imageUtils.changeQualifiers(folder, "g")
54
54
 
55
55
  These are the full list of qualifiers:
56
56
 
57
- - `_s` or none - Uploads images seperately without any grouping
57
+ - `_s` or none - Uploads images seperately
58
58
  - `_p` - Joins images together into one post as variations
59
59
  - `_g` - Uploads images seperately but adds them to the same group
60
- - `_c` - Adds images as child posts to the first in a set (`_c0`)
60
+ - `_g!` - Adds the image as a *variation* to the previous group post
61
+ - `_c` - Adds images as child posts to the first in the set (`_c0`)
61
62
  - `_c!` - Adds the image as a *variation* to the previous child post