Socket
Socket
Sign inDemoInstall

@constgen/neutrino-dependency

Package Overview
Dependencies
336
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @constgen/neutrino-dependency

Neutrino middleware for detection of circular dependencies


Version published
Weekly downloads
3
increased by50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@constgen/neutrino-dependency

npm npm

Neutrino middleware for detection and warning about dependencies issues

You may want to use @constgen/neutrino-analysis that already includes this middleware

Features

  • Detect and warn about circular dependencies during the build time
  • Detect and warn about duplicated dependencies during the build time

Requirements

  • Node.js v10+
  • Neutrino v9
  • Webpack v4

Installation

@constgen/neutrino-dependency can be installed from NPM. You should install it to "dependencies" (--save) or "devDependncies" (--save-dev) depending on your goal.

npm install --save @constgen/neutrino-dependency

Usage

In preset

Require this package and plug it into Neutrino. The middleware has no options:

let dependency = require('@constgen/neutrino-dependency')

neutrino.use(dependency())

In neutrinorc

The middleware also may be used together with another presets in Neutrino rc-file, e.g.:

.neutrinorc.js

let dependency = require('@constgen/neutrino-dependency')

module.exports = {
   use: [
      dependency()
   ]
}

Keywords

FAQs

Last updated on 19 Aug 2020

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