Skip to content

Axosoft/get-cwd-of-process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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