Skip to content

Instantly share code, notes, and snippets.

@Unitech
Created May 18, 2015 20:33
Show Gist options
  • Select an option

  • Save Unitech/56d160e061719e17b3a6 to your computer and use it in GitHub Desktop.

Select an option

Save Unitech/56d160e061719e17b3a6 to your computer and use it in GitHub Desktop.
>>> node path-check.js
/Users/shant/keymetrics/PM2/test/fixtures/path-check.js
/Users/shant/keymetrics/PM2/test/fixtures
{ id: '.',
exports: {},
parent: null,
filename: '/Users/shant/keymetrics/PM2/test/fixtures/path-check.js',
loaded: false,
children: [],
paths:
[ '/Users/shant/keymetrics/PM2/test/fixtures/node_modules',
'/Users/shant/keymetrics/PM2/test/node_modules',
'/Users/shant/keymetrics/PM2/node_modules',
'/Users/shant/keymetrics/node_modules',
'/Users/shant/node_modules',
'/Users/node_modules',
'/node_modules' ] }
/Users/shant/keymetrics/PM2/test/fixtures
/Users/shant/keymetrics/PM2/test/fixtures/path-check.js
PM2: 2015-05-18 16:31:48: App name:path-check id:0 online
path-check-0 (out): /Users/shant/keymetrics/PM2/test/fixtures/path-check.js
path-check-0 (out): /Users/shant/keymetrics/PM2/test/fixtures
path-check-0 (out): { id: '.',
path-check-0 (out): exports: {},
path-check-0 (out): parent: null,
path-check-0 (out): filename: '/Users/shant/keymetrics/PM2/test/fixtures/path-check.js',
path-check-0 (out): loaded: false,
path-check-0 (out): children: [],
path-check-0 (out): paths:
path-check-0 (out): [ '/Users/shant/keymetrics/PM2/test/fixtures/node_modules',
path-check-0 (out): '/Users/shant/keymetrics/PM2/test/node_modules',
path-check-0 (out): '/Users/shant/keymetrics/PM2/node_modules',
path-check-0 (out): '/Users/shant/keymetrics/node_modules',
path-check-0 (out): '/Users/shant/node_modules',
path-check-0 (out): '/Users/node_modules',
path-check-0 (out): '/node_modules' ] }
path-check-0 (out): /Users/shant/keymetrics/PM2/test/fixtures
path-check-0 (out): /Users/shant/keymetrics/PM2/test/fixtures/path-check.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment