e621stream 0.0.0-stage → 0.0.0
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/LICENSE +21 -0
- package/README.md +38 -2
- package/dist/E621Stream.d.ts +95 -0
- package/dist/E621Stream.js +180 -0
- package/dist/E621Stream.js.map +1 -0
- package/dist/Emitter.d.ts +12 -0
- package/dist/Emitter.js +33 -0
- package/dist/Emitter.js.map +1 -0
- package/dist/changes.d.ts +30 -0
- package/dist/changes.js +2 -0
- package/dist/changes.js.map +1 -0
- package/dist/events.d.ts +54 -0
- package/dist/events.js +138 -0
- package/dist/events.js.map +1 -0
- package/dist/generated.d.ts +1204 -0
- package/dist/generated.js +4 -0
- package/dist/generated.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/package.json +46 -3
- package/tsconfig.json +32 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../lib/generated.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,oBAAoB"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { E621Stream, StreamError, type ClientEvents, type Options, type Ready } from "./E621Stream.ts";
|
|
2
|
+
export * from "./events.ts";
|
|
3
|
+
export * from "./changes.ts";
|
|
4
|
+
export type * from "./generated.ts";
|
|
5
|
+
export { default as Emitter, type Listener } from "./Emitter.ts";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAA+C,MAAM,iBAAiB,CAAC;AACvG,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAiB,MAAM,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "e621stream",
|
|
3
|
-
"version": "0.0.0
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "A client for E621Stream, a live WebSocket stream of e621 activity",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Donovan_DMC <hewwo@yiff.rocks>",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/DonovanDMC/E621Stream"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/DonovanDMC/E621Stream#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/DonovanDMC/E621Stream/issues"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@eslint/js": "^9.39.4",
|
|
20
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
21
|
+
"@types/bun": "^1.4.4",
|
|
22
|
+
"@uwu-codes/eslint-config": "^2.0.8",
|
|
23
|
+
"eslint": "^9.39.4",
|
|
24
|
+
"eslint-plugin-import": "^2.32.0",
|
|
25
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
26
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
27
|
+
"globals": "^16.5.0",
|
|
28
|
+
"jiti": "^2.6.1",
|
|
29
|
+
"typescript": "^6.0.3",
|
|
30
|
+
"typescript-eslint": "^8.57.1"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"README.md",
|
|
35
|
+
"LICENSE",
|
|
36
|
+
"package.json",
|
|
37
|
+
"tsconfig.json"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public",
|
|
41
|
+
"provenance": true
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsc -p tsconfig.build.json",
|
|
45
|
+
"lint": "eslint .",
|
|
46
|
+
"lint:fix": "eslint . --fix",
|
|
47
|
+
"test": "bun test"
|
|
48
|
+
}
|
|
6
49
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["ESNext", "DOM"],
|
|
4
|
+
"module": "NodeNext",
|
|
5
|
+
"target": "ESNext",
|
|
6
|
+
"types": ["bun"],
|
|
7
|
+
"moduleDetection": "force",
|
|
8
|
+
"inlineSourceMap": true,
|
|
9
|
+
"importHelpers": false,
|
|
10
|
+
"newLine": "LF",
|
|
11
|
+
"noFallthroughCasesInSwitch": true,
|
|
12
|
+
"noImplicitOverride": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"esModuleInterop": true,
|
|
15
|
+
"skipLibCheck": false,
|
|
16
|
+
"forceConsistentCasingInFileNames": true,
|
|
17
|
+
"moduleResolution": "NodeNext",
|
|
18
|
+
"allowUnusedLabels": false,
|
|
19
|
+
"allowUnreachableCode": false,
|
|
20
|
+
"checkJs": true,
|
|
21
|
+
"strictPropertyInitialization": true,
|
|
22
|
+
"strictBindCallApply": true,
|
|
23
|
+
"verbatimModuleSyntax": true,
|
|
24
|
+
"declaration": true,
|
|
25
|
+
"noEmit": true,
|
|
26
|
+
"allowSyntheticDefaultImports": true,
|
|
27
|
+
"noUncheckedIndexedAccess": true,
|
|
28
|
+
"allowImportingTsExtensions": true
|
|
29
|
+
},
|
|
30
|
+
"include": ["eslint.config.mts", "test/**/*", "lib/**/*"],
|
|
31
|
+
"exclude": ["node_modules"]
|
|
32
|
+
}
|