module-details-from-path

Resolve npm package details, like name and base path, given an absolute path to a file inside a package

npm-stats-api

Node Package's Statistics API | Our functions will provide statistics of node package | This is a Node.js API wrapper for the NPM API and Registry. Based on the original npm-stat-api.