ntwrk 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 ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2024-2026 Khiat Mohammed Abderrezzak
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # ntwrk
2
+
3
+ [![npm version](https://img.shields.io/npm/v/ntwrk.svg)](https://www.npmjs.com/package/ntwrk)
4
+ [![License](https://img.shields.io/npm/l/ntwrk.svg)](https://opensource.org/licenses/MIT)
5
+ [![Downloads](https://img.shields.io/npm/dt/ntwrk.svg)](https://www.npmjs.com/package/ntwrk)
6
+
7
+ loading...
8
+
9
+ ## Installation
10
+
11
+ You can install `ntwrk` via npm:
12
+
13
+ ```bash
14
+ npm install ntwrk
15
+ ```
16
+
17
+ ## License
18
+
19
+ This project is licensed under the MIT LICENSE - see the [LICENSE](https://opensource.org/licenses/MIT) for more details.
package/ntwrk.cjs ADDED
@@ -0,0 +1,39 @@
1
+ /*
2
+
3
+ Copyright (c) 2024-2026 Khiat Mohammed Abderrezzak
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ Author: Khiat Mohammed Abderrezzak <khiat.dev@gmail.com>
24
+
25
+ */
26
+
27
+ // Sophisticated Graph
28
+
29
+ "use strict";
30
+
31
+ function main() {
32
+ console.log("ntwrk");
33
+ }
34
+
35
+ if (require.main === module) {
36
+ main();
37
+ }
38
+
39
+ module.exports = {};
package/ntwrk.mjs ADDED
@@ -0,0 +1,59 @@
1
+ /*
2
+
3
+ Copyright (c) 2024-2026 Khiat Mohammed Abderrezzak
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ Author: Khiat Mohammed Abderrezzak <khiat.dev@gmail.com>
24
+
25
+ */
26
+
27
+ // Sophisticated Graph
28
+
29
+ import { argv } from "process";
30
+
31
+ import { basename } from "path";
32
+
33
+ import { fileURLToPath } from "url";
34
+
35
+ function main() {
36
+ console.log("ntwrk");
37
+ }
38
+
39
+ /**
40
+ * The name of the main script file that was executed.
41
+ * Derived from the second CLI argument (`process.argv[1]`).
42
+ *
43
+ * @type {string}
44
+ */
45
+
46
+ const mainFile = basename(argv[1]);
47
+
48
+ /**
49
+ * The name of the currently running module file.
50
+ * Computed from the current module URL using `fileURLToPath(import.meta.url)`.
51
+ *
52
+ * @type {string}
53
+ */
54
+
55
+ const currentFile = basename(fileURLToPath(import.meta.url));
56
+
57
+ if (currentFile === mainFile) {
58
+ main();
59
+ }
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "ntwrk",
3
+ "version": "0.0.0",
4
+ "description": "Sophisticated Graph",
5
+ "main": "./ntwrk.cjs",
6
+ "module": "./ntwrk.mjs",
7
+ "exports": {
8
+ "require": "./ntwrk.cjs",
9
+ "import": "./ntwrk.mjs"
10
+ },
11
+ "files": [
12
+ "ntwrk.cjs",
13
+ "ntwrk.mjs",
14
+ "README.md",
15
+ "LICENSE"
16
+ ],
17
+ "keywords": [
18
+ "graph"
19
+ ],
20
+ "author": "Khiat Mohammed Abderrezzak",
21
+ "license": "MIT"
22
+ }