New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aleclarson/npm-view

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aleclarson/npm-view

Inspect the package.json of NPM packages

0.1.2
latest
Source
npm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 14 Nov 2018

Did you know?

Socket

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