{"library":"iso-constants","type":"library","category":null,"description":"The `iso-constants` package provides Node.js's `process.constants` values in a way that is usable across both Node.js and browser environments. It aims to offer a consistent set of system-level constants, such as `RTLD_LAZY` or `UV_THREADPOOL_SIZE`, regardless of the execution context. Currently at version `0.1.2`, the library maintains a generally low release cadence, primarily issuing patch fixes, indicating a stable and focused scope rather than rapid feature development. A key differentiator is its automatic constant update mechanism, which runs during `npm install` to ensure the most current constants are available. This approach enables developers to write isomorphic code that relies on these specific constants without needing conditional logic for different runtimes, simplifying cross-environment development.","language":"javascript","status":"active","version":"0.1.2","tags":["javascript","constants","node","browser"],"last_verified":"Wed May 27","install":[{"cmd":"npm install iso-constants","imports":["const constants = require('iso-constants');","import constants from 'iso-constants';","import constants from 'iso-constants'; console.log(constants.RTLD_LAZY);"]},{"cmd":"yarn add iso-constants","imports":[]},{"cmd":"pnpm add iso-constants","imports":[]}],"homepage":null,"github":"https://github.com/hugomrdias/iso-constants","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/iso-constants","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/iso-constants/compatibility"}}