@shba007/unascii 0.4.1 → 0.4.8
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 +1 -26
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +33 -27
package/README.md
CHANGED
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
<img src="./public/logo.png" lt="Logo" width="128" />
|
|
3
3
|
<p>
|
|
4
4
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
<!-- automd:badges color=blue -->
|
|
5
|
+
# UnASCII
|
|
8
6
|
|
|
9
7
|
[](https://npmjs.com/package/@shba007/unascii)
|
|
10
8
|
[](https://npmjs.com/@shba007/unascii)
|
|
11
9
|
[](https://github.com/shba007/unascii?tab=MIT-1-ov-file)
|
|
12
10
|
|
|
13
|
-
<!-- /automd -->
|
|
14
|
-
|
|
15
11
|
> Print any image in ascii anywhere (browser/cli)
|
|
16
12
|
|
|
17
13
|
## Usage (CLI)
|
|
@@ -41,8 +37,6 @@ Use `npx @shba007/unascii --help` for more usage info.
|
|
|
41
37
|
|
|
42
38
|
Install package:
|
|
43
39
|
|
|
44
|
-
<!-- automd:pm-install -->
|
|
45
|
-
|
|
46
40
|
```sh
|
|
47
41
|
# ✨ Auto-detect
|
|
48
42
|
npx nypm install @shba007/unascii
|
|
@@ -60,12 +54,8 @@ pnpm install @shba007/unascii
|
|
|
60
54
|
bun install @shba007/unascii
|
|
61
55
|
```
|
|
62
56
|
|
|
63
|
-
<!-- /automd -->
|
|
64
|
-
|
|
65
57
|
Import:
|
|
66
58
|
|
|
67
|
-
<!-- automd:jsimport cjs cdn name="pkg" -->
|
|
68
|
-
|
|
69
59
|
**ESM** (Node.js, Bun)
|
|
70
60
|
|
|
71
61
|
```js
|
|
@@ -84,8 +74,6 @@ const {} = require('@shba007/unascii')
|
|
|
84
74
|
import {} from 'https://esm.sh/@shba007/unascii'
|
|
85
75
|
```
|
|
86
76
|
|
|
87
|
-
<!-- /automd -->
|
|
88
|
-
|
|
89
77
|
## Development
|
|
90
78
|
|
|
91
79
|
<details>
|
|
@@ -102,21 +90,8 @@ import {} from 'https://esm.sh/@shba007/unascii'
|
|
|
102
90
|
|
|
103
91
|
## License
|
|
104
92
|
|
|
105
|
-
<!-- automd:contributors license=MIT -->
|
|
106
|
-
|
|
107
93
|
Published under the [MIT](https://github.com/shba007/unascii/blob/main/LICENSE) license.
|
|
108
|
-
Made by [community](https://github.com/shba007/unascii/graphs/contributors) 💛
|
|
109
94
|
<br><br>
|
|
110
95
|
<a href="https://github.com/shba007/unascii/graphs/contributors">
|
|
111
96
|
<img src="https://contrib.rocks/image?repo=shba007/unascii" />
|
|
112
97
|
</a>
|
|
113
|
-
|
|
114
|
-
<!-- /automd -->
|
|
115
|
-
|
|
116
|
-
<!-- automd:with-automd -->
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
_🤖 auto updated with [automd](https://automd.unjs.io)_
|
|
121
|
-
|
|
122
|
-
<!-- /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.4.
|
|
17
|
+
const version = "0.4.8";
|
|
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
|
@@ -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 = "0.4.
|
|
10
|
+
const version = "0.4.8";
|
|
11
11
|
const description = "Print any image in ascii anywhere (browser/cli)";
|
|
12
12
|
|
|
13
13
|
const storage = createStorage({
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shba007/unascii",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"description": "Print any image in ascii anywhere (browser/cli)",
|
|
5
5
|
"author": "Shirsendu Bairagi <shirsendu2001@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,49 +33,55 @@
|
|
|
33
33
|
"dist",
|
|
34
34
|
"bin"
|
|
35
35
|
],
|
|
36
|
-
"volta": {
|
|
37
|
-
"node": "22.14.0"
|
|
38
|
-
},
|
|
39
36
|
"engines": {
|
|
40
37
|
"node": "^20.15.0 || ^22.11.0",
|
|
41
|
-
"pnpm": "^9.15.0 || ^10.2.0"
|
|
38
|
+
"pnpm": "^9.15.0 || ^10.2.0",
|
|
39
|
+
"bun": "^1.2.9"
|
|
40
|
+
},
|
|
41
|
+
"packageManager": "bun@1.2.16",
|
|
42
|
+
"scripts": {
|
|
43
|
+
"prepare": "husky || true",
|
|
44
|
+
"dev": "vitest dev",
|
|
45
|
+
"detect": "gitleaks git --verbose",
|
|
46
|
+
"lint": "eslint . --fix",
|
|
47
|
+
"format": "prettier . --write",
|
|
48
|
+
"test:types": "tsc --noEmit --skipLibCheck",
|
|
49
|
+
"test": "bun lint && bun test:types && vitest run --coverage",
|
|
50
|
+
"play": "dotenvx run -- jiti examples",
|
|
51
|
+
"build": "unbuild",
|
|
52
|
+
"prepack": "bun run build",
|
|
53
|
+
"clean": "rm -rf coverage dist",
|
|
54
|
+
"unascii": "bun bin/unascii.mjs"
|
|
42
55
|
},
|
|
43
56
|
"dependencies": {
|
|
57
|
+
"@tailwindcss/vite": "^4.1.10",
|
|
44
58
|
"canvas": "^3.1.0",
|
|
45
59
|
"chalk": "^5.4.1",
|
|
46
60
|
"citty": "^0.1.6",
|
|
47
61
|
"consola": "^3.4.2",
|
|
48
62
|
"pathe": "^2.0.3",
|
|
49
63
|
"std-env": "^3.9.0",
|
|
50
|
-
"
|
|
64
|
+
"tailwindcss": "^4.1.10",
|
|
65
|
+
"unstorage": "^1.16.0"
|
|
51
66
|
},
|
|
52
67
|
"devDependencies": {
|
|
53
|
-
"@commitlint/cli": "^19.8.
|
|
54
|
-
"@commitlint/config-conventional": "^19.8.
|
|
55
|
-
"@dotenvx/dotenvx": "^1.
|
|
56
|
-
"@types/node": "^
|
|
57
|
-
"@vitest/coverage-v8": "^3.
|
|
68
|
+
"@commitlint/cli": "^19.8.1",
|
|
69
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
70
|
+
"@dotenvx/dotenvx": "^1.44.2",
|
|
71
|
+
"@types/node": "^24.0.3",
|
|
72
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
58
73
|
"changelogen": "^0.6.1",
|
|
59
|
-
"eslint": "^9.
|
|
74
|
+
"eslint": "^9.29.0",
|
|
60
75
|
"eslint-config-unjs": "^0.4.2",
|
|
61
76
|
"husky": "^9.1.7",
|
|
62
77
|
"jiti": "^2.4.2",
|
|
63
78
|
"prettier": "^3.5.3",
|
|
64
|
-
"typescript": "^5.
|
|
79
|
+
"typescript": "^5.8.3",
|
|
65
80
|
"unbuild": "3.5.0",
|
|
66
|
-
"
|
|
81
|
+
"vitepress": "^1.6.3",
|
|
82
|
+
"vitest": "^3.2.4"
|
|
67
83
|
},
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
"lint": "eslint . --fix",
|
|
72
|
-
"format": "prettier . --write",
|
|
73
|
-
"test:types": "tsc --noEmit --skipLibCheck",
|
|
74
|
-
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
|
|
75
|
-
"play": "dotenvx run -- jiti playground/cli",
|
|
76
|
-
"build": "unbuild",
|
|
77
|
-
"release": "pnpm test && changelogen --release && pnpm publish && git push --follow-tags",
|
|
78
|
-
"clean": "rm -rf coverage dist",
|
|
79
|
-
"unascii": "node bin/unascii.mjs"
|
|
80
|
-
}
|
|
84
|
+
"trustedDependencies": [
|
|
85
|
+
"@tailwindcss/oxide"
|
|
86
|
+
]
|
|
81
87
|
}
|