encoding-tools 0.0.1 → 0.0.2

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/encoding-tools DELETED
@@ -1,38 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // SPDX-License-Identifier: AGPL-3.0-or-later
4
-
5
- // ----------------------------------------------------------------------
6
- // Copyright © 2024, 2025 Pellegrino Prevete
7
- //
8
- // All rights reserved
9
- // ----------------------------------------------------------------------
10
- //
11
- // This program is free software: you can redistribute it and/or modify
12
- // it under the terms of the GNU Affero General Public License as published by
13
- // the Free Software Foundation, either version 3 of the License, or
14
- // (at your option) any later version.
15
- //
16
- // This program is distributed in the hope that it will be useful,
17
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- // GNU Affero General Public License for more details.
20
- //
21
- // You should have received a copy of the GNU Affero General Public License
22
- // along with this program. If not, see <https://www.gnu.org/licenses/>.
23
-
24
- const
25
- _bin2txt_module =
26
- require(
27
- "./libbin2txt");
28
- // const
29
- // _libtxt2bin =
30
- // require(
31
- // "./txt2bin");
32
-
33
- module.exports = {
34
- _bin2txt:
35
- _bin2txt_module._bin2txt
36
- // _txt2bin:
37
- // _txt2bin
38
- };
@@ -1,45 +0,0 @@
1
- let
2
- _file_name,
3
- _output,
4
- _output_dir,
5
- _path;
6
- _path =
7
- require(
8
- 'path');
9
- _output_dir =
10
- _path.resolve(
11
- __dirname);
12
- _file_name =
13
- "fs-worker.js";
14
- _output = {
15
- path:
16
- _output_dir,
17
- filename:
18
- _file_name
19
- }
20
-
21
- module.exports = {
22
- entry:
23
- './node_modules/crash-js/crash-js/fs-worker',
24
- output:
25
- _output,
26
- optimization: {
27
- moduleIds: 'deterministic',
28
- },
29
- resolve: {
30
- fallback: {
31
- "fs":
32
- false,
33
- "happy-opfs":
34
- _path.resolve(
35
- __dirname,
36
- 'node_modules/happy-opfs/dist/main.mjs'),
37
- "path":
38
- false,
39
- "@std/path":
40
- _path.resolve(
41
- __dirname,
42
- 'node_modules/@std/path/mod.js'),
43
- }
44
- }
45
- };
package/index.html DELETED
@@ -1,24 +0,0 @@
1
- <!--
2
- SPDX-License-Identifier: AGPL-3.0-or-later
3
-
4
- ----------------------------------------------------------------------
5
- Copyright © 2024, 2025 Pellegrino Prevete
6
-
7
- All rights reserved
8
- ----------------------------------------------------------------------
9
-
10
- This program is free software: you can redistribute it and/or modify
11
- it under the terms of the GNU Affero General Public License as published by
12
- the Free Software Foundation, either version 3 of the License, or
13
- (at your option) any later version.
14
-
15
- This program is distributed in the hope that it will be useful,
16
- but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- GNU Affero General Public License for more details.
19
-
20
- You should have received a copy of the GNU Affero General Public License
21
- along with this program. If not, see <https://www.gnu.org/licenses/>.
22
- -->
23
-
24
- <script src="ahsi.js"></script>
package/serve.json DELETED
@@ -1,14 +0,0 @@
1
- { "headers": [
2
- { "source":
3
- "**/*",
4
- "headers": [
5
- { "key":
6
- "Cross-Origin-Embedder-Policy",
7
- "value":
8
- "require-corp" },
9
- { "key":
10
- "Cross-Origin-Opener-Policy",
11
- "value":
12
- "same-origin" }
13
- ] }
14
- ] }
package/webpack.config.js DELETED
@@ -1,82 +0,0 @@
1
- const
2
- _path =
3
- require(
4
- 'path');
5
- const
6
- _output_dir =
7
- _path.resolve(
8
- __dirname);
9
- const
10
- _file_name =
11
- "ahsi.js";
12
- const
13
- _output = {
14
- path:
15
- _output_dir,
16
- filename:
17
- _file_name
18
- };
19
- const
20
- _yargs_ignore = {
21
- resourceRegExp:
22
- /^yargs$/
23
- }
24
- const
25
- _yargs_helpers_ignore = {
26
- resourceRegExp:
27
- /^yargs\/helpers$/
28
- }
29
- const
30
- _webpack =
31
- require(
32
- "webpack");
33
- const
34
- _ignore_plugin =
35
- _webpack.IgnorePlugin;
36
- const
37
- _yargs_ignore_plugin =
38
- new _ignore_plugin(
39
- _yargs_ignore);
40
- const
41
- _yargs_helpers_ignore_plugin =
42
- new _ignore_plugin(
43
- _yargs_helpers_ignore);
44
- module.exports = {
45
- entry:
46
- './ahsi',
47
- output:
48
- _output,
49
- optimization: {
50
- moduleIds: 'deterministic',
51
- },
52
- resolve: {
53
- fallback: {
54
- "fs":
55
- false,
56
- "happy-opfs":
57
- _path.resolve(
58
- __dirname,
59
- 'node_modules/happy-opfs/dist/main.mjs'),
60
- "path":
61
- false,
62
- "@std/path":
63
- _path.resolve(
64
- __dirname,
65
- 'node_modules/@std/path/mod.js'),
66
- "fs-worker":
67
- _path.resolve(
68
- __dirname,
69
- 'node_modules/crash-bash/crash/bash/fs-worker'),
70
- "yargs":
71
- false,
72
- "yargs/helpers":
73
- false
74
- },
75
- },
76
- externals:
77
- { yargs: 'yargs' },
78
- plugins: [
79
- _yargs_ignore_plugin,
80
- _yargs_helpers_ignore_plugin
81
- ]
82
- };