for node >=0.5 this is exaclty the same:
Yeah. Do not use this module. Back then I thought it's a good idea, but it's just another useless dependency. As soon as I find some free time I will remove it from my modules.
require('./package.json').version is way more expressive :)
If you want to get all the semantics that npm uses when loading package.json files (including loading from comments in a js file, pulling in the readme, checking for misspellings, etc.) then use the read-package-json module.
@isaacs Awesome! I just put deprecation notice in the readme file.