get-package-json-from-registry
Get a package.json from the registry, cached.
module
npm install [--save] get-package-json-from-registry
; // these 2 will result in one query to the registry since we have a cache;; // calls will be cached in this instanceconst getPackageJsonCached = getPackageJson; // these 2 will result in one query to the registry since we have a cache;;
cli
npm -g install get-package-json-from-registry get-package-json-from-registry snappy@2get-package-json-from-registry snappy@~1.1.0