@shba007/unascii 0.3.3 → 0.3.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.
- package/README.md +11 -11
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
Globally run unascii with `npx`:
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
|
-
npx unascii@latest ./file/path.jpg
|
|
22
|
+
npx @shba007/unascii@latest ./file/path.jpg
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
or
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
npx unascii@latest ./file/path.jpg --width=50
|
|
28
|
+
npx @shba007/unascii@latest ./file/path.jpg --width=50
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Options:
|
|
@@ -35,7 +35,7 @@ npx unascii@latest ./file/path.jpg --width=50
|
|
|
35
35
|
--characters <minimalist|normal|normal2|alphabetic|alphanumeric|numerical|extended|math|arrow|grayscale|max|codepage437|blockelement> Output Character Set
|
|
36
36
|
--grayscale <true|false> Output as grayscale or color only works with console
|
|
37
37
|
|
|
38
|
-
Use `npx unascii --help` for more usage info.
|
|
38
|
+
Use `npx @shba007/unascii --help` for more usage info.
|
|
39
39
|
|
|
40
40
|
## Usage (API)
|
|
41
41
|
|
|
@@ -45,19 +45,19 @@ Install package:
|
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
# ✨ Auto-detect
|
|
48
|
-
npx nypm install unascii
|
|
48
|
+
npx nypm install @shba007/unascii
|
|
49
49
|
|
|
50
50
|
# npm
|
|
51
|
-
npm install unascii
|
|
51
|
+
npm install @shba007/unascii
|
|
52
52
|
|
|
53
53
|
# yarn
|
|
54
|
-
yarn add unascii
|
|
54
|
+
yarn add @shba007/unascii
|
|
55
55
|
|
|
56
56
|
# pnpm
|
|
57
|
-
pnpm install unascii
|
|
57
|
+
pnpm install @shba007/unascii
|
|
58
58
|
|
|
59
59
|
# bun
|
|
60
|
-
bun install unascii
|
|
60
|
+
bun install @shba007/unascii
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
<!-- /automd -->
|
|
@@ -69,19 +69,19 @@ Import:
|
|
|
69
69
|
**ESM** (Node.js, Bun)
|
|
70
70
|
|
|
71
71
|
```js
|
|
72
|
-
import {} from 'unascii'
|
|
72
|
+
import {} from '@shba007/unascii'
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
**CommonJS** (Legacy Node.js)
|
|
76
76
|
|
|
77
77
|
```js
|
|
78
|
-
const {} = require('unascii')
|
|
78
|
+
const {} = require('@shba007/unascii')
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
**CDN** (Deno, Bun and Browsers)
|
|
82
82
|
|
|
83
83
|
```js
|
|
84
|
-
import {} from 'https://esm.sh/unascii'
|
|
84
|
+
import {} from 'https://esm.sh/@shba007/unascii'
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
<!-- /automd -->
|
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 = "0.3.
|
|
17
|
+
const version = "0.3.4";
|
|
18
18
|
const description = "Print any image in ascii anywhere (browser/cli)";
|
|
19
19
|
|
|
20
20
|
const storage = unstorage.createStorage({
|
package/dist/cli.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import fsDriver from 'unstorage/drivers/fs';
|
|
|
6
6
|
import { a as asciiPrint, i as isURL } from './shared/unascii.DGQXX7jV.mjs';
|
|
7
7
|
|
|
8
8
|
const name = "@shba007/unascii";
|
|
9
|
-
const version = "0.3.
|
|
9
|
+
const version = "0.3.4";
|
|
10
10
|
const description = "Print any image in ascii anywhere (browser/cli)";
|
|
11
11
|
|
|
12
12
|
const storage = createStorage({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shba007/unascii",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Print any image in ascii anywhere (browser/cli)",
|
|
5
5
|
"author": "Shirsendu Bairagi <shirsendu2001@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"pnpm": "^9.15.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"canvas": "^3.0.
|
|
44
|
+
"canvas": "^3.0.1",
|
|
45
45
|
"chalk": "^5.4.1",
|
|
46
46
|
"citty": "^0.1.6",
|
|
47
47
|
"consola": "^3.3.3",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@commitlint/cli": "^19.6.1",
|
|
54
54
|
"@commitlint/config-conventional": "^19.6.0",
|
|
55
55
|
"@dotenvx/dotenvx": "^1.32.0",
|
|
56
|
-
"@types/node": "^22.10.
|
|
56
|
+
"@types/node": "^22.10.3",
|
|
57
57
|
"@vitest/coverage-v8": "^2.1.8",
|
|
58
58
|
"changelogen": "^0.5.7",
|
|
59
59
|
"eslint": "^9.17.0",
|
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
"vitest": "^2.1.8"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
|
-
"postinstall": "husky",
|
|
70
69
|
"dev": "vitest dev",
|
|
71
70
|
"detect": "gitleaks git --verbose",
|
|
72
71
|
"lint": "eslint . --fix",
|