Skip to content

magiclen/node-sysconf

Repository files navigation

sysconf For Node.js

CI

Get configurable system variables.

You need to set up the Rust development environment: rustup

Usage

You can use sysconf function to get the value of system variables.

import { sysconf, _SC_PAGE_SIZE } from "node-sysconf";

const result = sysconf(_SC_PAGE_SIZE); // 4096

License

MIT