rbx-reader-ts 1.5.4
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/.github/ISSUE_TEMPLATE/bug_report.md +24 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/.github/dependabot.yml +6 -0
- package/README.md +13 -0
- package/package.json +36 -0
- package/postinstall.js +1 -0
- package/rbx-reader-master/.github/ISSUE_TEMPLATE/bug_report.md +24 -0
- package/rbx-reader-master/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/rbx-reader-master/.github/dependabot.yml +6 -0
- package/rbx-reader-master/README.md +13 -0
- package/rbx-reader-master/package.json +35 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Describe the bug**
|
11
|
+
A clear and concise description of what the bug is.
|
12
|
+
|
13
|
+
**To Reproduce**
|
14
|
+
Steps to reproduce the behavior:
|
15
|
+
1. Go to '...'
|
16
|
+
2. Click on '....'
|
17
|
+
3. Scroll down to '....'
|
18
|
+
4. See error
|
19
|
+
|
20
|
+
**Expected behavior**
|
21
|
+
A clear and concise description of what you expected to happen.
|
22
|
+
|
23
|
+
**Screenshots**
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea for this project
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12
|
+
|
13
|
+
**Describe the solution you'd like**
|
14
|
+
A clear and concise description of what you want to happen.
|
15
|
+
|
16
|
+
**Describe alternatives you've considered**
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
18
|
+
|
19
|
+
**Additional context**
|
20
|
+
Add any other context or screenshots about the feature request here.
|
package/README.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# rbx-reader
|
2
|
+
A module that allows for reading of `.rbxm` and `.rbxl` files.
|
3
|
+
|
4
|
+
**Huge thanks to @shiinazzz for helping to get the code into useful TypeScript form.**
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
Basic reading:
|
8
|
+
```js
|
9
|
+
const fs = require("node:fs")
|
10
|
+
const reader = require("rbx-reader")
|
11
|
+
const buf = fs.readFileSync("./path/to/roblox/file.rbxm") // Can also be an .rbxl
|
12
|
+
const result = reader.parseFile(buf)
|
13
|
+
```
|
package/package.json
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
{
|
2
|
+
"name": "rbx-reader-ts",
|
3
|
+
"version": "1.5.4",
|
4
|
+
"description": "A NPM module for reading .rbxm(x) and .rbxl(x) files",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"types": "dist/index.d.ts",
|
7
|
+
"repository": {
|
8
|
+
"type": "git",
|
9
|
+
"url": "git+https://github.com/littleBitsman/rbx-reader.git"
|
10
|
+
},
|
11
|
+
"author": "littleBitsman",
|
12
|
+
"contributors": [
|
13
|
+
{
|
14
|
+
"name": "shiinazzz",
|
15
|
+
"url": "https://www.npmjs.com/~shiinazzz"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"license": "AGPL-3.0-or-later",
|
19
|
+
"bugs": {
|
20
|
+
"url": "https://github.com/littleBitsman/rbx-reader/issues"
|
21
|
+
},
|
22
|
+
"homepage": "https://github.com/littleBitsman/rbx-reader#readme",
|
23
|
+
"devDependencies": {
|
24
|
+
"@types/jsdom": "^21.1.6",
|
25
|
+
"typescript": "^5.3.3"
|
26
|
+
},
|
27
|
+
"dependencies": {
|
28
|
+
"jsdom": "^25.0.1"
|
29
|
+
},
|
30
|
+
"scripts": {
|
31
|
+
"publish": "npm i && npm run build && npm publish",
|
32
|
+
"build": "tsc && npm run copy-wasm",
|
33
|
+
"copy-wasm": "xcopy .\\src\\attributes-parser\\* dist\\attributes-parser /e /h /y",
|
34
|
+
"postinstall": "node postinstall"
|
35
|
+
}
|
36
|
+
}
|
package/postinstall.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
console.log(`test`)
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Describe the bug**
|
11
|
+
A clear and concise description of what the bug is.
|
12
|
+
|
13
|
+
**To Reproduce**
|
14
|
+
Steps to reproduce the behavior:
|
15
|
+
1. Go to '...'
|
16
|
+
2. Click on '....'
|
17
|
+
3. Scroll down to '....'
|
18
|
+
4. See error
|
19
|
+
|
20
|
+
**Expected behavior**
|
21
|
+
A clear and concise description of what you expected to happen.
|
22
|
+
|
23
|
+
**Screenshots**
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea for this project
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12
|
+
|
13
|
+
**Describe the solution you'd like**
|
14
|
+
A clear and concise description of what you want to happen.
|
15
|
+
|
16
|
+
**Describe alternatives you've considered**
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
18
|
+
|
19
|
+
**Additional context**
|
20
|
+
Add any other context or screenshots about the feature request here.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# rbx-reader
|
2
|
+
A module that allows for reading of `.rbxm` and `.rbxl` files.
|
3
|
+
|
4
|
+
**Huge thanks to @shiinazzz for helping to get the code into useful TypeScript form.**
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
Basic reading:
|
8
|
+
```js
|
9
|
+
const fs = require("node:fs")
|
10
|
+
const reader = require("rbx-reader")
|
11
|
+
const buf = fs.readFileSync("./path/to/roblox/file.rbxm") // Can also be an .rbxl
|
12
|
+
const result = reader.parseFile(buf)
|
13
|
+
```
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"name": "rbx-reader",
|
3
|
+
"version": "1.5.4",
|
4
|
+
"description": "A NPM module for reading .rbxm(x) and .rbxl(x) files",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"types": "dist/index.d.ts",
|
7
|
+
"repository": {
|
8
|
+
"type": "git",
|
9
|
+
"url": "git+https://github.com/littleBitsman/rbx-reader.git"
|
10
|
+
},
|
11
|
+
"author": "littleBitsman",
|
12
|
+
"contributors": [
|
13
|
+
{
|
14
|
+
"name": "shiinazzz",
|
15
|
+
"url": "https://www.npmjs.com/~shiinazzz"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"license": "AGPL-3.0-or-later",
|
19
|
+
"bugs": {
|
20
|
+
"url": "https://github.com/littleBitsman/rbx-reader/issues"
|
21
|
+
},
|
22
|
+
"homepage": "https://github.com/littleBitsman/rbx-reader#readme",
|
23
|
+
"devDependencies": {
|
24
|
+
"@types/jsdom": "^21.1.6",
|
25
|
+
"typescript": "^5.3.3"
|
26
|
+
},
|
27
|
+
"dependencies": {
|
28
|
+
"jsdom": "^25.0.1"
|
29
|
+
},
|
30
|
+
"scripts": {
|
31
|
+
"publish": "npm i && npm run build && npm publish",
|
32
|
+
"build": "tsc && npm run copy-wasm",
|
33
|
+
"copy-wasm": "xcopy .\\src\\attributes-parser\\* dist\\attributes-parser /e /h /y"
|
34
|
+
}
|
35
|
+
}
|