Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created June 8, 2012 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/2898421 to your computer and use it in GitHub Desktop.
Save isaacs/2898421 to your computer and use it in GitHub Desktop.
C:\Users\Isaac Schlueter\project>dir node_modules
Volume in drive C has no label.
Volume Serial Number is 6267-6480
Directory of C:\Users\Isaac Schlueter\project\node_modules
06/08/2012 03:20 PM <DIR> .
06/08/2012 03:20 PM <DIR> ..
06/08/2012 03:19 PM <DIR> .bin
06/08/2012 03:19 PM <JUNCTION> semver [C:\Users\Isaac Schlueter\AppData
Roaming\npm\node_modules\semver]
0 File(s) 0 bytes
4 Dir(s) 19,528,343,552 bytes free
C:\Users\Isaac Schlueter\project>node
> fs = require("fs"); 1
1
> fs.realpath("node_modules/semver", function (er, p) { global.p = p })
undefined
> p
'C:\\Users\\Isaac Schlueter\\project\\node_modules\\semver'
> fs.readlink("node_modules/semver", function (er, p) { global.p = p })
undefined
> p
'C:\\Users\\Isaac Schlueter\\AppData\\Roaming\\npm\\node_modules\\semver\\'
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment