Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / test / test-42-path-related-values / project / module.js
484 bytesRaw
1 | ; |
2 | |
3 | console.log(JSON.stringify({ |
4 | '__filename': __filename, |
5 | '__dirname': __dirname, |
6 | 'process.cwd()': process.cwd(), |
7 | 'process.execPath': process.execPath, |
8 | 'process.argv[0]': process.argv[0], |
9 | 'process.argv[1]': process.argv[1], |
10 | 'process.pkg.entrypoint': process.pkg |
11 | ? process.pkg.entrypoint : 'undefined', |
12 | 'process.pkg.defaultEntrypoint': process.pkg |
13 | ? process.pkg.defaultEntrypoint : 'undefined', |
14 | 'require.main.filename': require.main.filename |
15 | })); |
16 |
Built with git-ssb-web