returns a projectoinfo object for a directory path. TypeScript ready.
var projectinfo = require("projectinfo") myProject = new ProjectinfoNpm("/somepath/to/projectroot"); myProject.version // displays version