@soga/encoder 0.0.1

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 ADDED
@@ -0,0 +1 @@
1
+ # encoder
package/dist/main.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const encoder: () => Promise<boolean>;
package/dist/main.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.encoder=void 0;const encoder=async()=>(await new Promise((e=>setTimeout(e,1e3))),!0);exports.encoder=encoder;
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@soga/encoder",
3
+ "version": "0.0.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "",
8
+ "main": "dist/main.js",
9
+ "types": "dist/main.d.ts",
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "build": "rimraf dist && tsc && ts-node ./scripts/minify",
15
+ "minify": "ts-node ./scripts/minify",
16
+ "demo": "ts-node ./demo/demo.ts",
17
+ "test": "jest",
18
+ "dev": "ts-node ./src/main.ts",
19
+ "lint": "eslint . --ext .ts",
20
+ "prepublishOnly": "npm run build"
21
+ },
22
+ "devDependencies": {
23
+ "@types/glob": "^8.1.0",
24
+ "@types/jest": "^29.5.4",
25
+ "@types/node": "^20.8.7",
26
+ "@typescript-eslint/eslint-plugin": "^6.4.1",
27
+ "@typescript-eslint/parser": "^6.4.1",
28
+ "eslint": "^8.47.0",
29
+ "eslint-config-prettier": "^9.0.0",
30
+ "eslint-plugin-jest": "^27.2.3",
31
+ "eslint-plugin-prettier": "^5.0.0",
32
+ "glob": "^10.3.3",
33
+ "jest": "^29.6.3",
34
+ "prettier": "^3.0.2",
35
+ "terser": "^5.19.2",
36
+ "ts-jest": "^29.1.1",
37
+ "ts-node": "^10.9.1",
38
+ "typescript": "^5.1.6"
39
+ },
40
+ "keywords": [],
41
+ "author": "",
42
+ "license": "ISC"
43
+ }