https://github.com/magiclen/node-sysconf
Get configurable system variables.
https://github.com/magiclen/node-sysconf
nodejs rust sysconf
Last synced: 4 months ago
JSON representation
Get configurable system variables.
- Host: GitHub
- URL: https://github.com/magiclen/node-sysconf
- Owner: magiclen
- License: mit
- Created: 2017-10-07T17:02:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-26T17:22:50.000Z (over 1 year ago)
- Last Synced: 2025-08-17T13:37:42.402Z (10 months ago)
- Topics: nodejs, rust, sysconf
- Language: JavaScript
- Homepage:
- Size: 407 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sysconf For Node.js
=================================
[](https://github.com/magiclen/node-sysconf/actions/workflows/ci.yml)
Get configurable system variables.
You need to set up the Rust development environment: [rustup](https://rustup.rs/)
## Usage
You can use `sysconf` function to get the value of system variables.
```typescript
import { sysconf, _SC_PAGE_SIZE } from "node-sysconf";
const result = sysconf(_SC_PAGE_SIZE); // 4096
```
## License
[MIT](LICENSE)