@jsprismarine/binaryutils 0.15.0-unstable-20261024002035
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/CHANGELOG.md +24 -0
- package/LICENSE +373 -0
- package/README.md +186 -0
- package/dist/BinaryStream.cjs.cjs +839 -0
- package/dist/BinaryStream.d.ts +488 -0
- package/dist/BinaryStream.d.ts.map +1 -0
- package/dist/BinaryStream.es.js +831 -0
- package/dist/_virtual/_rolldown/runtime.cjs.cjs +24 -0
- package/dist/index.cjs.cjs +8 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +2 -0
- package/package.json +69 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
|
+
get: ((k) => from[k]).bind(null, key),
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
20
|
+
value: mod,
|
|
21
|
+
enumerable: true
|
|
22
|
+
}) : target, mod));
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.__toESM = __toESM;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, {
|
|
3
|
+
__esModule: { value: true },
|
|
4
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
5
|
+
});
|
|
6
|
+
const require_BinaryStream = require("./BinaryStream.cjs.cjs");
|
|
7
|
+
exports.BinaryStream = require_BinaryStream.BinaryStream;
|
|
8
|
+
exports.default = require_BinaryStream.BinaryStream;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/index.es.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jsprismarine/binaryutils",
|
|
3
|
+
"version": "0.15.0-unstable-20261024002035",
|
|
4
|
+
"description": "Basic binary data managing tool written in TypeScript.",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"CHANGELOG.md",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"main": "./dist/index.cjs.cjs",
|
|
16
|
+
"module": "./dist/index.es.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.es.js",
|
|
22
|
+
"module": "./dist/index.es.js",
|
|
23
|
+
"require": "./dist/index.cjs.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./*": {
|
|
26
|
+
"types": "./dist/*.d.ts",
|
|
27
|
+
"import": "./dist/*.es.js",
|
|
28
|
+
"module": "./dist/*.es.js",
|
|
29
|
+
"require": "./dist/*.cjs.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./package.json": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/JSPrismarine/JSPrismarine.git"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"jsprismarine",
|
|
39
|
+
"binaryutils",
|
|
40
|
+
"binary",
|
|
41
|
+
"stream"
|
|
42
|
+
],
|
|
43
|
+
"author": "HerryYT",
|
|
44
|
+
"contributors": [
|
|
45
|
+
{
|
|
46
|
+
"name": "JSPrismarine"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"license": "ISC",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/JSPrismarine/JSPrismarine/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/JSPrismarine/JSPrismarine/tree/master/packages/binaryutils",
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/node": "24.13.6",
|
|
56
|
+
"glob": "13.0.6",
|
|
57
|
+
"rimraf": "6.1.3",
|
|
58
|
+
"typescript": "6.0.3",
|
|
59
|
+
"vite": "8.3.0",
|
|
60
|
+
"vitest": "5.0.1"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"clean": "rimraf dist jsp *.tsbuildinfo vite.config.ts.timestamp-* .tsup .turbo",
|
|
64
|
+
"build": "vite build",
|
|
65
|
+
"build:watch": "vite build --watch",
|
|
66
|
+
"bench": "pnpm run build && node --expose-gc bench/bench.mjs",
|
|
67
|
+
"typecheck": "tsc -noEmit"
|
|
68
|
+
}
|
|
69
|
+
}
|