@bun-win32/psapi 2.0.0 → 2.0.1
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 +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# bun-psapi
|
|
1
|
+
# @bun-win32/psapi
|
|
2
2
|
|
|
3
3
|
Zero-dependency, zero-overhead Win32 PSAPI bindings for [Bun](https://bun.sh) on Windows.
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
`@bun-win32/psapi` exposes the `psapi.dll` exports using Bun's FFI. It provides a single class, `Psapi`, which lazily binds native symbols on first use. You can optionally preload a subset or all symbols up-front via `Preload()`.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -23,13 +23,13 @@ Zero-dependency, zero-overhead Win32 PSAPI bindings for [Bun](https://bun.sh) on
|
|
|
23
23
|
## Installation
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
bun add bun-psapi
|
|
26
|
+
bun add @bun-win32/psapi
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## Quick Start
|
|
30
30
|
|
|
31
31
|
```ts
|
|
32
|
-
import Psapi from 'bun-psapi';
|
|
32
|
+
import Psapi from '@bun-win32/psapi';
|
|
33
33
|
|
|
34
34
|
// Optionally bind a subset up-front
|
|
35
35
|
Psapi.Preload(['EnumProcesses', 'GetModuleBaseNameW']);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Stev Peifer <stev@bell.net>",
|
|
3
3
|
"bugs": {
|
|
4
|
-
"url": "https://github.com/
|
|
4
|
+
"url": "https://github.com/bun-win32/psapi/issues"
|
|
5
5
|
},
|
|
6
6
|
"description": "Zero-dependency, zero-overhead Win32 PSAPI bindings for Bun (FFI) on Windows.",
|
|
7
7
|
"devDependencies": {
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"typescript": "^5"
|
|
18
18
|
},
|
|
19
19
|
"private": false,
|
|
20
|
-
"homepage": "https://github.com/
|
|
20
|
+
"homepage": "https://github.com/bun-win32/psapi#readme",
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "git://github.com/
|
|
23
|
+
"url": "git://github.com/bun-win32/psapi.git"
|
|
24
24
|
},
|
|
25
25
|
"type": "module",
|
|
26
|
-
"version": "2.0.
|
|
26
|
+
"version": "2.0.1",
|
|
27
27
|
"main": "./index.ts",
|
|
28
28
|
"keywords": [
|
|
29
29
|
"bun",
|