Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 294 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 294 Bytes

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);
}