Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

noop-package

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noop-package

Blank package that does nothing

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

noop-package

Noop NPM Package

Description

This package is useful when you want to remove a transitive dependency from npm/yarn.

For example. Module A depends sets Module B as a dependency but doens't use it and you want to remove it from your node_modules. You can use selective dependency resolution to override a module in package.json

{
  "dependencies": {
    "moduleA": "1.0.0",
    "moduleB": "npm:noop-package@1.0.0"
  },
  "resolution": {
    "moduleB": "npm:noop-package@1.0.0"
  }
}

Warnings

If you override a package using selective dependency resolution, the original package will be replaced in node_modules and may cause undefined behaviour.

License

This project is licensed under the MIT License - see the LICENSE file for details

Keywords

FAQs

Package last updated on 01 May 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc