itisintelligentttt 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/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # itisintelligentttt
2
+
3
+ Node.js bindings for ItIsIntelligentTTT.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install itisintelligentttt
9
+ ```
10
+
11
+ No compilation is required.
12
+
13
+ Prebuilt binaries are provided for:
14
+
15
+ - Windows x64
16
+ - Linux x64
17
+ - Linux ARM64
18
+ - macOS x64
19
+ - macOS ARM64
20
+
21
+ ## Usage
22
+
23
+ ```js
24
+ const itisintelligentttt = require("itisintelligentttt");
25
+
26
+ // TODO.
27
+ ```
28
+
29
+ ## License
30
+
31
+ MIT
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ declare module "itisintelligentttt"
2
+ {
3
+ export function hello_world(): string;
4
+ }
package/index.js ADDED
@@ -0,0 +1,6 @@
1
+ const path = require("path");
2
+
3
+ const platform = process.platform;
4
+ const arch = process.arch;
5
+
6
+ module.exports = require(path.join(__dirname, "prebuilds", `${platform}-${arch}`, "itisintelligentttt.node"));
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "itisintelligentttt",
3
+ "version": "0.0.0",
4
+ "description": "Intelligent Tic-Tac-Toe powered by itisintelligentttt",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "itisintelligentttt",
10
+ "Tic-Tac-Toe",
11
+ "AI"
12
+ ],
13
+ "files": [
14
+ "index.js",
15
+ "index.d.ts",
16
+ "prebuilds/"
17
+ ],
18
+ "os": [
19
+ "win32",
20
+ "linux",
21
+ "darwin"
22
+ ],
23
+ "cpu": [
24
+ "x64",
25
+ "arm64"
26
+ ],
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/ParminanAOP/itisintelligentttt.git"
30
+ },
31
+ "homepage": "https://github.com/ParminanAOP/itisintelligentttt",
32
+ "bugs": {
33
+ "url": "https://github.com/ParminanAOP/itisintelligentttt/issues"
34
+ },
35
+ "engines": {
36
+ "node": ">=18"
37
+ },
38
+ "devDependencies": {
39
+ "cmake-js": "^7.3.0",
40
+ "node-addon-api": "^8.0.0",
41
+ "node-api-headers": "^1.4.0"
42
+ },
43
+ "scripts": {
44
+ "build-native": "cmake-js compile"
45
+ }
46
+ }