tmcsplit 0.0.9 → 0.0.11
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 +4 -0
- package/dist/libtmcsplit/fs-worker.js +1 -0
- package/dist/libtmcsplit/index.html +31 -0
- package/dist/libtmcsplit/libtmcsplit.js +2 -0
- package/dist/tmcsplit/fs-worker.js +1 -0
- package/dist/tmcsplit/index.html +31 -0
- package/dist/tmcsplit/tmcsplit.js +2 -0
- package/eslint.config.mjs +12 -11
- package/fs-worker.webpack.config.cjs +19 -1
- package/libtmcsplit +2 -1
- package/libtmcsplit.webpack.config.cjs +7 -12
- package/package.json +9 -9
- package/webpack.config.cjs +5 -12
- package/fs-worker.js +0 -1
- package/tmcsplit.js +0 -2
package/README.md
CHANGED
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
|
|
23
23
|
# The Martian Company's Split (`tmcsplit`)
|
|
24
24
|
|
|
25
|
+
[](
|
|
27
|
+
https://npmjs.org/package/tmcsplit)
|
|
28
|
+
|
|
25
29
|
Javascript GNU Split rewrite.
|
|
26
30
|
|
|
27
31
|
Splittable with number of parts or maximum bytes per part.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var e={816(e,o,n){function t(){let e;return"undefined"==typeof window&&void 0!==n.g&&n.g.global===n.g&&"function"!=typeof n||(e=function(){let e;try{e=n(816)}catch(e){console.log(e);const o="Error importing the '@themartiancompany/opfs' module as 'opfs'. If you got this error while bundling a webpack for a project depending on this module double check its 'webpack.config.js' file or whether the 'opfs' module is listed in developer dependencies and install them.I'm sorry for this inconvenience but Node packagement system does not currently distinguish 'development' from 'build' dependencies.";throw console.error(o),e}return e}()),e}const r=t();e.exports=r,e.exports.getModule=function(e){let o;if(""==_module_name||"undefined"==typeof _module_name)o=t();else if("opfs"==_module_name)o=_opfs_module_auto_detect();else{if("fs"!=_module_name){const e="Unknown file system module "+`'${_module_name}'.`.const;throw _error={msg:e},console.error(e),_error}o=n(Object(function(){var e=new Error("Cannot find module 'node:fs'");throw e.code="MODULE_NOT_FOUND",e}())),o.fsWorkerStart=function(e){let o;return o=e.fsWorkerStart,void 0===o&&(o=function(){}),o}(o)}return o}},314(e,o,n){const t=n(816);_sync_agent=t.startSyncAgent,e.exports={_sync_agent},_sync_agent()}},o={};function n(t){var r=o[t];if(void 0!==r)return r.exports;var s=o[t]={exports:{}};return e[t](s,s.exports,n),s.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n(314)})();
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
3
|
+
|
|
4
|
+
---------------------------------------------
|
|
5
|
+
Copyright © 2024, 2025, 2026
|
|
6
|
+
Pellegrino Prevete
|
|
7
|
+
|
|
8
|
+
All rights reserved
|
|
9
|
+
---------------------------------------------
|
|
10
|
+
|
|
11
|
+
This program is free software: you can
|
|
12
|
+
redistribute it and/or modify it under the
|
|
13
|
+
terms of the GNU Affero General Public
|
|
14
|
+
License as published by the Free Software
|
|
15
|
+
Foundation, either version 3 of the License,
|
|
16
|
+
or (at your option) any later version.
|
|
17
|
+
|
|
18
|
+
This program is distributed in the hope that
|
|
19
|
+
it will be useful, but WITHOUT ANY WARRANTY;
|
|
20
|
+
without even the implied warranty of
|
|
21
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
22
|
+
PURPOSE. See the GNU Affero General Public
|
|
23
|
+
License for more details.
|
|
24
|
+
|
|
25
|
+
You should have received a copy of the GNU
|
|
26
|
+
Affero General Public License
|
|
27
|
+
along with this program.
|
|
28
|
+
If not, see <https://www.gnu.org/licenses/>.
|
|
29
|
+
-->
|
|
30
|
+
|
|
31
|
+
<script src="libtmcsplit.js"></script>
|