IT:AD:npm:HowTo:View Details Of A Package

Summary

Use npm view xyz to view the details of a specific package.

view details of an npm package
 npm view gulp 

The response will be something like:

response
{ name: 'gulp',
  description: 'The streaming build system',
  'dist-tags': { latest: '3.9.1' },
  versions:
   [ '0.0.1',
...snip...
   '3.9.1' ],
  maintainers:
   [ 'fractal <contact@wearefractal.com>',
     'phated <blaine@iceddev.com>' ],
  time:
   { modified: '2016-04-08T19:17:57.830Z',
     created: '2013-07-04T23:27:07.828Z',
     '0.0.1': '2013-07-04T23:27:09.247Z',
     '0.0.2': '2013-07-05T00:36:51.366Z',
     ...snip...
     '3.9.1': '2016-02-08T18:50:16.472Z' },
  author: 'Fractal <contact@wearefractal.com> (http://wearefractal.com/)',
  repository: { type: 'git', url: 'git+https://github.com/gulpjs/gulp.git' },
  users:
   { '6174': true,
     '326060588': true,
     jden: true,
     ...snip...
     zafix: true },
  readmeFilename: 'README.md',
  homepage: 'http://gulpjs.com',
  bugs: { url: 'https://github.com/gulpjs/gulp/issues' },
  license: 'MIT',
  version: '3.9.1',
  tags: [ 'build', 'stream', 'system', 'make', 'tool', 'asset', 'pipeline' ],
  files: [ 'index.js', 'lib', 'bin', 'completion', 'gulp.1' ],
  bin: { gulp: './bin/gulp.js' },
  man: 'gulp.1',
  dependencies:
   { archy: '^1.0.0',
     chalk: '^1.0.0',
...snip...
     'vinyl-fs': '^0.3.0' },
  devDependencies:
   { coveralls: '^2.7.0',
...snip...
     should: '^5.0.1' },
  scripts:
   { prepublish: 'marked-man --name gulp docs/CLI.md > gulp.1',
     lint: 'eslint . && jscs *.js bin/ lib/ test/',
     pretest: 'npm run lint',
     test: 'mocha --reporter spec',
     coveralls: 'istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage' },
  engines: { node: '>= 0.9' },
  gitHead: '9c14e3a13a73a32e424f144d62566671b2fcdbed',
  dist:
   { shasum: '571ce45928dd40af6514fc4011866016c13845b4',
     tarball: 'https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz' },
  directories: {} }
  • /home/skysigal/public_html/data/pages/it/ad/npm/howto/view_details_of_a_package.txt
  • Last modified: 2023/11/04 23:00
  • by 127.0.0.1