@yydb/yydb-win32-x64 0.0.15 → 0.0.16
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 +25 -25
- package/lib/yydb-win32-x64-msvc.node +0 -0
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# `@yydb/yydb-win32-x64`
|
|
2
|
-
|
|
3
|
-
Prebuilt native binding for Windows x64 (`win32/x64`). **Not a public import target.**
|
|
4
|
-
|
|
5
|
-
Pulled automatically when installing [`@yydb/yydb`](https://www.npmjs.com/package/@yydb/yydb) on matching hosts.
|
|
6
|
-
|
|
7
|
-
## Example
|
|
8
|
-
|
|
9
|
-
Application code imports the main package only:
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
import {Database} from "@yydb/yydb";
|
|
13
|
-
|
|
14
|
-
const db = await Database.open("app.yydb");
|
|
15
|
-
console.log(await db.info());
|
|
16
|
-
await db.close();
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
The CLI also ships from `@yydb/yydb`:
|
|
20
|
-
|
|
21
|
-
```text
|
|
22
|
-
npx yydb serve app.yydb --bind 127.0.0.1:7700
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
[YYDB overview](https://github.com/yy-database/yydb.rs)
|
|
1
|
+
# `@yydb/yydb-win32-x64`
|
|
2
|
+
|
|
3
|
+
Prebuilt native binding for Windows x64 (`win32/x64`). **Not a public import target.**
|
|
4
|
+
|
|
5
|
+
Pulled automatically when installing [`@yydb/yydb`](https://www.npmjs.com/package/@yydb/yydb) on matching hosts.
|
|
6
|
+
|
|
7
|
+
## Example
|
|
8
|
+
|
|
9
|
+
Application code imports the main package only:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import {Database} from "@yydb/yydb";
|
|
13
|
+
|
|
14
|
+
const db = await Database.open("app.yydb");
|
|
15
|
+
console.log(await db.info());
|
|
16
|
+
await db.close();
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The CLI also ships from `@yydb/yydb`:
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
npx yydb serve app.yydb --bind 127.0.0.1:7700
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[YYDB overview](https://github.com/yy-database/yydb.rs)
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
},
|
|
5
|
-
"cpu": [
|
|
6
|
-
"x64"
|
|
7
|
-
],
|
|
2
|
+
"name": "@yydb/yydb-win32-x64",
|
|
3
|
+
"version": "0.0.16",
|
|
8
4
|
"description": "YYDB native binding for Windows x64; installed automatically by @yydb/yydb",
|
|
5
|
+
"license": "MPL-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./index.js",
|
|
9
8
|
"exports": {
|
|
10
9
|
".": "./index.js"
|
|
11
10
|
},
|
|
11
|
+
"os": [
|
|
12
|
+
"win32"
|
|
13
|
+
],
|
|
14
|
+
"cpu": [
|
|
15
|
+
"x64"
|
|
16
|
+
],
|
|
12
17
|
"files": [
|
|
13
18
|
"index.js",
|
|
14
19
|
"lib",
|
|
15
20
|
"README.md"
|
|
16
21
|
],
|
|
17
|
-
"homepage": "https://github.com/yy-database/yydb.rs/tree/dev/projects/packages/yydb-win32-x64#readme",
|
|
18
|
-
"license": "MPL-2.0",
|
|
19
|
-
"main": "./index.js",
|
|
20
|
-
"name": "@yydb/yydb-win32-x64",
|
|
21
|
-
"os": [
|
|
22
|
-
"win32"
|
|
23
|
-
],
|
|
24
|
-
"publishConfig": {
|
|
25
|
-
"access": "public"
|
|
26
|
-
},
|
|
27
22
|
"repository": {
|
|
28
|
-
"directory": "projects/packages/yydb-win32-x64",
|
|
29
23
|
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/yy-database/yydb.
|
|
24
|
+
"url": "git+https://github.com/yy-database/yydb.git",
|
|
25
|
+
"directory": "projects/packages/yydb-win32-x64"
|
|
31
26
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
27
|
+
"homepage": "https://github.com/yy-database/yydb/tree/dev/projects/packages/yydb-win32-x64#readme",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/yy-database/yydb/issues"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
}
|
|
34
34
|
}
|