@sch_cat/export-utils 1.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 ADDED
@@ -0,0 +1,16 @@
1
+ Copyright (c) 2026 sch
2
+ Permission is hereby granted, free of charge, to any person obtaining a copy
3
+ of this software and associated documentation files (the "Software"), to deal
4
+ in the Software without restriction, including without limitation the rights
5
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6
+ copies of the Software, and to permit persons to whom the Software is
7
+ furnished to do so, subject to the following conditions:
8
+ The above copyright notice and this permission notice shall be included in all
9
+ copies or substantial portions of the Software.
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # @sch/export-utils
2
+
3
+ A lightweight CSV/Excel export utility for TypeScript with TypeORM support.
4
+
5
+ ## Install
6
+ ```bash
7
+ npm install @sch/export-utils
@@ -0,0 +1,4 @@
1
+ export declare class ExportUtils {
2
+ static greet(name: string): string;
3
+ }
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qBAAa,WAAW;IACpB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAGrC"}
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ export class ExportUtils {
2
+ static greet(name) {
3
+ return `Hello, ${name}! Welcome to Export Utils.`;
4
+ }
5
+ }
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,WAAW;IACpB,MAAM,CAAC,KAAK,CAAC,IAAY;QACrB,OAAO,UAAU,IAAI,4BAA4B,CAAC;IACtD,CAAC;CACJ"}
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@sch_cat/export-utils",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "description": "A lightweight CSV/Excel export utility for TS with TypeORM support",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./dist/index.js",
9
+ "types": "./dist/index.d.ts"
10
+ }
11
+ },
12
+ "main": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "scripts": {
15
+ "build": "tsc",
16
+ "prepack": "npm run build",
17
+ "test": "echo \"No tests yet\"",
18
+ "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
19
+ "format": "prettier --write \"src/**/*.ts\""
20
+ },
21
+ "keywords": [
22
+ "ts",
23
+ "export",
24
+ "csv",
25
+ "typeorm",
26
+ "microservice"
27
+ ],
28
+ "author": "501241320@qq.com",
29
+ "license": "MIT",
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "devDependencies": {
36
+ "@types/node": "^25.0.10",
37
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
38
+ "@typescript-eslint/parser": "^8.54.0",
39
+ "eslint": "^9.39.2",
40
+ "eslint-config-prettier": "^10.1.8",
41
+ "eslint-plugin-import": "^2.32.0",
42
+ "eslint-plugin-prettier": "^5.5.5",
43
+ "eslint-plugin-unused-imports": "^4.3.0",
44
+ "prettier": "^3.8.1",
45
+ "typescript": "^5.9.3"
46
+ }
47
+ }