0.2.0 • Published 1 year ago
get-cwd-of-process v0.2.0
get-cwd-of-process
This is an npm module for retrieving the CWD of a given process. Works cross-platform. MIT licensed.
Usage
const getCwdOfProcess = require('get-cwd-of-process');
async function Foo() {
const cwd = await getCwdOfProcess(12345);
console.log(cwd);
}