@kawalir/extension-node 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/CHANGELOG.md +1 -0
- package/Core/Classes/index.ts +0 -0
- package/Core/Exceptions/index.ts +0 -0
- package/Core/Functions/index.ts +0 -0
- package/Core/index.ts +3 -0
- package/Global/Classes/GlobalClasses.d.ts +3 -0
- package/Global/Classes/index.ts +0 -0
- package/Global/Methods/index.ts +0 -0
- package/Global/index.ts +2 -0
- package/README.md +25 -0
- package/index.d.ts +2 -0
- package/index.ts +3 -0
- package/package.json +34 -0
- package/tsconfig.json +51 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Initial Publication
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Core/index.ts
ADDED
|
File without changes
|
|
File without changes
|
package/Global/index.ts
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Description
|
|
2
|
+
|
|
3
|
+
Typescript extension for Node
|
|
4
|
+
|
|
5
|
+
# Installation
|
|
6
|
+
|
|
7
|
+
## 1. Install the Package
|
|
8
|
+
|
|
9
|
+
Install the package, e.g.
|
|
10
|
+
|
|
11
|
+
```shell
|
|
12
|
+
npm install @kawalir/extension-node
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This will also set up globally available types to your TypeScript type checking, intellisense etc.
|
|
16
|
+
|
|
17
|
+
## 2. Import the Code
|
|
18
|
+
|
|
19
|
+
Import the extension in the first line of your program to load the code.
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import "@kawalir/extension-node";
|
|
23
|
+
|
|
24
|
+
...
|
|
25
|
+
```
|
package/index.d.ts
ADDED
package/index.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kawalir/extension-node",
|
|
3
|
+
"description": "TypeScript Extension for Node",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"TypeScript",
|
|
6
|
+
"Extension",
|
|
7
|
+
"Node",
|
|
8
|
+
"Node Extension"
|
|
9
|
+
],
|
|
10
|
+
"version": "0.0.0",
|
|
11
|
+
"author": "Denis Mijatovic",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"type": "commonjs",
|
|
14
|
+
"main": "index.ts",
|
|
15
|
+
"types": "index.d.ts",
|
|
16
|
+
"files": [
|
|
17
|
+
"Structures",
|
|
18
|
+
"Core",
|
|
19
|
+
"Global",
|
|
20
|
+
"index.ts",
|
|
21
|
+
"index.d.ts",
|
|
22
|
+
"tsconfig.json",
|
|
23
|
+
"package.json",
|
|
24
|
+
"README.md",
|
|
25
|
+
"CHANGELOG.md"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"major": "npm run script Publish major",
|
|
29
|
+
"minor": "npm run script Publish minor",
|
|
30
|
+
"patch": "npm run script Publish patch",
|
|
31
|
+
"script": "cd Scripts && npm start",
|
|
32
|
+
"test": "cd Test && npm start"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Visit https://aka.ms/tsconfig to read more about this file
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
// File Layout
|
|
5
|
+
// "rootDir": "",
|
|
6
|
+
// "outDir": "",
|
|
7
|
+
|
|
8
|
+
// Environment Settings
|
|
9
|
+
// See also https://aka.ms/tsconfig/module
|
|
10
|
+
"module": "nodenext",
|
|
11
|
+
"target": "esnext",
|
|
12
|
+
"types": [],
|
|
13
|
+
// For nodejs:
|
|
14
|
+
// "lib": ["esnext"],
|
|
15
|
+
// "types": ["node"],
|
|
16
|
+
// and npm install -D @types/node
|
|
17
|
+
|
|
18
|
+
// Other Outputs
|
|
19
|
+
"sourceMap": true,
|
|
20
|
+
"declaration": true,
|
|
21
|
+
"declarationMap": true,
|
|
22
|
+
|
|
23
|
+
// Stricter Typechecking Options
|
|
24
|
+
"noUncheckedIndexedAccess": true,
|
|
25
|
+
"exactOptionalPropertyTypes": true,
|
|
26
|
+
|
|
27
|
+
// Style Options
|
|
28
|
+
// "noImplicitReturns": true,
|
|
29
|
+
// "noImplicitOverride": true,
|
|
30
|
+
// "noUnusedLocals": true,
|
|
31
|
+
// "noUnusedParameters": true,
|
|
32
|
+
// "noFallthroughCasesInSwitch": true,
|
|
33
|
+
// "noPropertyAccessFromIndexSignature": true,
|
|
34
|
+
|
|
35
|
+
// Recommended Options
|
|
36
|
+
"strict": true,
|
|
37
|
+
"jsx": "react-jsx",
|
|
38
|
+
// "verbatimModuleSyntax": true,
|
|
39
|
+
"isolatedModules": true,
|
|
40
|
+
// "noUncheckedSideEffectImports": true,
|
|
41
|
+
"moduleDetection": "force",
|
|
42
|
+
// "skipLibCheck": true
|
|
43
|
+
|
|
44
|
+
"baseUrl": ".",
|
|
45
|
+
"paths": {
|
|
46
|
+
"@kawalir/extension-node": ["."],
|
|
47
|
+
"@kawalir/extension-node/*": ["./*"]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"include": ["Structures", "Core", "Global"]
|
|
51
|
+
}
|