@shba007/unascii 1.0.5 → 1.0.6
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/cli.cjs +1 -1
- package/dist/cli.d.cts +30 -30
- package/dist/cli.d.mts +30 -30
- package/dist/cli.d.ts +30 -30
- package/dist/cli.mjs +1 -1
- package/package.json +10 -10
package/dist/cli.cjs
CHANGED
|
@@ -14,7 +14,7 @@ const pathe__default = /*#__PURE__*/_interopDefaultCompat(pathe);
|
|
|
14
14
|
const fsDriver__default = /*#__PURE__*/_interopDefaultCompat(fsDriver);
|
|
15
15
|
|
|
16
16
|
const name = "@shba007/unascii";
|
|
17
|
-
const version = "1.0.
|
|
17
|
+
const version = "1.0.6";
|
|
18
18
|
const description = "Print any image in ascii anywhere (browser/cli)";
|
|
19
19
|
|
|
20
20
|
const storage = unstorage.createStorage({
|
package/dist/cli.d.cts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import * as citty from 'citty';
|
|
2
2
|
|
|
3
3
|
declare const main: citty.CommandDef<{
|
|
4
|
-
path: {
|
|
5
|
-
type: "positional";
|
|
6
|
-
description:
|
|
7
|
-
required: true;
|
|
4
|
+
readonly path: {
|
|
5
|
+
readonly type: "positional";
|
|
6
|
+
readonly description: "Path of the image";
|
|
7
|
+
readonly required: true;
|
|
8
8
|
};
|
|
9
|
-
width: {
|
|
10
|
-
type: "string";
|
|
11
|
-
description:
|
|
12
|
-
default:
|
|
9
|
+
readonly width: {
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
readonly description: "Width of the image";
|
|
12
|
+
readonly default: "32";
|
|
13
13
|
};
|
|
14
|
-
widthSkew: {
|
|
15
|
-
type: "string";
|
|
16
|
-
description:
|
|
17
|
-
default:
|
|
14
|
+
readonly widthSkew: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
readonly description: "Width Skew of the image";
|
|
17
|
+
readonly default: "1.75";
|
|
18
18
|
};
|
|
19
|
-
output: {
|
|
20
|
-
type: "string";
|
|
21
|
-
description:
|
|
22
|
-
valueHint:
|
|
23
|
-
default:
|
|
19
|
+
readonly output: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly description: "Output as file or console";
|
|
22
|
+
readonly valueHint: "console|file";
|
|
23
|
+
readonly default: "console";
|
|
24
24
|
};
|
|
25
|
-
characters: {
|
|
26
|
-
type: "string";
|
|
27
|
-
description:
|
|
28
|
-
valueHint:
|
|
25
|
+
readonly characters: {
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
readonly description: "Output Character Set";
|
|
28
|
+
readonly valueHint: "minimalist|normal|normal2|alphabetic|alphanumeric|numerical|extended|math|arrow|grayscale|max|codepage437|blockelement";
|
|
29
29
|
};
|
|
30
|
-
grayscale: {
|
|
31
|
-
type: "boolean";
|
|
32
|
-
description:
|
|
33
|
-
valueHint:
|
|
30
|
+
readonly grayscale: {
|
|
31
|
+
readonly type: "boolean";
|
|
32
|
+
readonly description: "Output as grayscale or color only works with console";
|
|
33
|
+
readonly valueHint: "true|false";
|
|
34
34
|
};
|
|
35
|
-
verbose: {
|
|
36
|
-
type: "boolean";
|
|
37
|
-
description:
|
|
38
|
-
valueHint:
|
|
39
|
-
default: false;
|
|
35
|
+
readonly verbose: {
|
|
36
|
+
readonly type: "boolean";
|
|
37
|
+
readonly description: "Verbose Output";
|
|
38
|
+
readonly valueHint: "true|false";
|
|
39
|
+
readonly default: false;
|
|
40
40
|
};
|
|
41
41
|
}>;
|
|
42
42
|
declare const runMain: () => Promise<void>;
|
package/dist/cli.d.mts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import * as citty from 'citty';
|
|
2
2
|
|
|
3
3
|
declare const main: citty.CommandDef<{
|
|
4
|
-
path: {
|
|
5
|
-
type: "positional";
|
|
6
|
-
description:
|
|
7
|
-
required: true;
|
|
4
|
+
readonly path: {
|
|
5
|
+
readonly type: "positional";
|
|
6
|
+
readonly description: "Path of the image";
|
|
7
|
+
readonly required: true;
|
|
8
8
|
};
|
|
9
|
-
width: {
|
|
10
|
-
type: "string";
|
|
11
|
-
description:
|
|
12
|
-
default:
|
|
9
|
+
readonly width: {
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
readonly description: "Width of the image";
|
|
12
|
+
readonly default: "32";
|
|
13
13
|
};
|
|
14
|
-
widthSkew: {
|
|
15
|
-
type: "string";
|
|
16
|
-
description:
|
|
17
|
-
default:
|
|
14
|
+
readonly widthSkew: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
readonly description: "Width Skew of the image";
|
|
17
|
+
readonly default: "1.75";
|
|
18
18
|
};
|
|
19
|
-
output: {
|
|
20
|
-
type: "string";
|
|
21
|
-
description:
|
|
22
|
-
valueHint:
|
|
23
|
-
default:
|
|
19
|
+
readonly output: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly description: "Output as file or console";
|
|
22
|
+
readonly valueHint: "console|file";
|
|
23
|
+
readonly default: "console";
|
|
24
24
|
};
|
|
25
|
-
characters: {
|
|
26
|
-
type: "string";
|
|
27
|
-
description:
|
|
28
|
-
valueHint:
|
|
25
|
+
readonly characters: {
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
readonly description: "Output Character Set";
|
|
28
|
+
readonly valueHint: "minimalist|normal|normal2|alphabetic|alphanumeric|numerical|extended|math|arrow|grayscale|max|codepage437|blockelement";
|
|
29
29
|
};
|
|
30
|
-
grayscale: {
|
|
31
|
-
type: "boolean";
|
|
32
|
-
description:
|
|
33
|
-
valueHint:
|
|
30
|
+
readonly grayscale: {
|
|
31
|
+
readonly type: "boolean";
|
|
32
|
+
readonly description: "Output as grayscale or color only works with console";
|
|
33
|
+
readonly valueHint: "true|false";
|
|
34
34
|
};
|
|
35
|
-
verbose: {
|
|
36
|
-
type: "boolean";
|
|
37
|
-
description:
|
|
38
|
-
valueHint:
|
|
39
|
-
default: false;
|
|
35
|
+
readonly verbose: {
|
|
36
|
+
readonly type: "boolean";
|
|
37
|
+
readonly description: "Verbose Output";
|
|
38
|
+
readonly valueHint: "true|false";
|
|
39
|
+
readonly default: false;
|
|
40
40
|
};
|
|
41
41
|
}>;
|
|
42
42
|
declare const runMain: () => Promise<void>;
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import * as citty from 'citty';
|
|
2
2
|
|
|
3
3
|
declare const main: citty.CommandDef<{
|
|
4
|
-
path: {
|
|
5
|
-
type: "positional";
|
|
6
|
-
description:
|
|
7
|
-
required: true;
|
|
4
|
+
readonly path: {
|
|
5
|
+
readonly type: "positional";
|
|
6
|
+
readonly description: "Path of the image";
|
|
7
|
+
readonly required: true;
|
|
8
8
|
};
|
|
9
|
-
width: {
|
|
10
|
-
type: "string";
|
|
11
|
-
description:
|
|
12
|
-
default:
|
|
9
|
+
readonly width: {
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
readonly description: "Width of the image";
|
|
12
|
+
readonly default: "32";
|
|
13
13
|
};
|
|
14
|
-
widthSkew: {
|
|
15
|
-
type: "string";
|
|
16
|
-
description:
|
|
17
|
-
default:
|
|
14
|
+
readonly widthSkew: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
readonly description: "Width Skew of the image";
|
|
17
|
+
readonly default: "1.75";
|
|
18
18
|
};
|
|
19
|
-
output: {
|
|
20
|
-
type: "string";
|
|
21
|
-
description:
|
|
22
|
-
valueHint:
|
|
23
|
-
default:
|
|
19
|
+
readonly output: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly description: "Output as file or console";
|
|
22
|
+
readonly valueHint: "console|file";
|
|
23
|
+
readonly default: "console";
|
|
24
24
|
};
|
|
25
|
-
characters: {
|
|
26
|
-
type: "string";
|
|
27
|
-
description:
|
|
28
|
-
valueHint:
|
|
25
|
+
readonly characters: {
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
readonly description: "Output Character Set";
|
|
28
|
+
readonly valueHint: "minimalist|normal|normal2|alphabetic|alphanumeric|numerical|extended|math|arrow|grayscale|max|codepage437|blockelement";
|
|
29
29
|
};
|
|
30
|
-
grayscale: {
|
|
31
|
-
type: "boolean";
|
|
32
|
-
description:
|
|
33
|
-
valueHint:
|
|
30
|
+
readonly grayscale: {
|
|
31
|
+
readonly type: "boolean";
|
|
32
|
+
readonly description: "Output as grayscale or color only works with console";
|
|
33
|
+
readonly valueHint: "true|false";
|
|
34
34
|
};
|
|
35
|
-
verbose: {
|
|
36
|
-
type: "boolean";
|
|
37
|
-
description:
|
|
38
|
-
valueHint:
|
|
39
|
-
default: false;
|
|
35
|
+
readonly verbose: {
|
|
36
|
+
readonly type: "boolean";
|
|
37
|
+
readonly description: "Verbose Output";
|
|
38
|
+
readonly valueHint: "true|false";
|
|
39
|
+
readonly default: false;
|
|
40
40
|
};
|
|
41
41
|
}>;
|
|
42
42
|
declare const runMain: () => Promise<void>;
|
package/dist/cli.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import fsDriver from 'unstorage/drivers/fs';
|
|
|
7
7
|
import { a as asciiPrint, i as isURL } from './shared/unascii.B-n97ykJ.mjs';
|
|
8
8
|
|
|
9
9
|
const name = "@shba007/unascii";
|
|
10
|
-
const version = "1.0.
|
|
10
|
+
const version = "1.0.6";
|
|
11
11
|
const description = "Print any image in ascii anywhere (browser/cli)";
|
|
12
12
|
|
|
13
13
|
const storage = createStorage({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shba007/unascii",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Print any image in ascii anywhere (browser/cli)",
|
|
5
5
|
"author": "Shirsendu Bairagi <shirsendu2001@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"pnpm": "^9.15.0 || ^10.2.0",
|
|
39
39
|
"bun": "^1.2.9"
|
|
40
40
|
},
|
|
41
|
-
"packageManager": "bun@1.3.
|
|
41
|
+
"packageManager": "bun@1.3.8",
|
|
42
42
|
"scripts": {
|
|
43
43
|
"prepare": "husky || true",
|
|
44
44
|
"dev": "dotenvx run -- vitest dev",
|
|
@@ -57,27 +57,27 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"canvas": "^3.2.1",
|
|
59
59
|
"chalk": "^5.6.2",
|
|
60
|
-
"citty": "^0.
|
|
60
|
+
"citty": "^0.2.0",
|
|
61
61
|
"consola": "^3.4.2",
|
|
62
62
|
"pathe": "^2.0.3",
|
|
63
63
|
"std-env": "^3.10.0",
|
|
64
64
|
"unstorage": "^1.17.4"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@commitlint/cli": "^20.
|
|
68
|
-
"@commitlint/config-conventional": "^20.
|
|
69
|
-
"@dotenvx/dotenvx": "^1.
|
|
70
|
-
"@types/node": "^25.0
|
|
71
|
-
"@vitest/coverage-v8": "^4.0.
|
|
67
|
+
"@commitlint/cli": "^20.4.0",
|
|
68
|
+
"@commitlint/config-conventional": "^20.4.0",
|
|
69
|
+
"@dotenvx/dotenvx": "^1.52.0",
|
|
70
|
+
"@types/node": "^25.2.0",
|
|
71
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
72
72
|
"eslint": "^9.39.2",
|
|
73
73
|
"eslint-config-unjs": "^0.6.2",
|
|
74
74
|
"husky": "^9.1.7",
|
|
75
75
|
"jiti": "^2.6.1",
|
|
76
|
-
"prettier": "^3.8.
|
|
76
|
+
"prettier": "^3.8.1",
|
|
77
77
|
"typescript": "^5.9.3",
|
|
78
78
|
"unbuild": "^3.6.1",
|
|
79
79
|
"vitepress": "^1.6.4",
|
|
80
|
-
"vitest": "^4.0.
|
|
80
|
+
"vitest": "^4.0.18"
|
|
81
81
|
},
|
|
82
82
|
"trustedDependencies": [
|
|
83
83
|
"canvas",
|