Socket
Socket
Sign inDemoInstall

@aleclarson/npm-view

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aleclarson/npm-view

Inspect the package.json of NPM packages


Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Install size
401 kB
Created
Weekly downloads
 

Readme

Source

npm-view

View the package.json of a specific version of an NPM package.

const npmView = require('npm-view')

// View the latest version.
await npmView('lodash')

// View the max version that satisfies the given range.
await npmView('lodash', '3.x')

// View a specific version.
await npmView('lodash', '4.0.0')

FAQs

Last updated on 14 Nov 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc