@cto.af/chex-cli 2.2.1 → 2.2.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/README.md +35 -0
- package/lib/version.js +2 -2
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# chex-cli
|
|
2
|
+
|
|
3
|
+
Like `hexdump -C`, but as a small JS library.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm install @cto.af/chex-cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Usage: chex [options] [file...]
|
|
15
|
+
|
|
16
|
+
Arguments:
|
|
17
|
+
file file names to read or "-" for stdin
|
|
18
|
+
|
|
19
|
+
Options:
|
|
20
|
+
-c,--colors force colors on even if stdout is not a tty
|
|
21
|
+
--no-colors force colors off even if stdout is a tty
|
|
22
|
+
-C,--columns <number> how many columns of 8 bytes? (default: 2)
|
|
23
|
+
-d,--dots use dots for more control characters, instead of
|
|
24
|
+
Unicode representations
|
|
25
|
+
-p,--pager [pager command] override PAGER environment variable. If no
|
|
26
|
+
command is specified, turn off paging. Suggested:
|
|
27
|
+
"less -REX". (default: "less -REX")
|
|
28
|
+
-s,--strings <encoding> try to decode strings in this encoding (choices:
|
|
29
|
+
"utf8", "utf-8")
|
|
30
|
+
-V, --version output the version number
|
|
31
|
+
-h, --help display help for command
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[](https://github.com/cto-af/chex/actions/workflows/node.js.yml)
|
|
35
|
+
[](https://codecov.io/gh/cto-af/chex)
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cto.af/chex-cli",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "hexdump -C as a small JS library",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"author": "Joe Hildebrand <joe-github@cursive.net>",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@cto.af/chex": "2.2.
|
|
29
|
-
"commander": "14.0.
|
|
28
|
+
"@cto.af/chex": "2.2.3",
|
|
29
|
+
"commander": "14.0.3"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
32
|
"node": ">=20"
|