Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

wtfwith

1.1.2 • Public • Published

WTF WITH

Build Status dependencies Status devDependencies Status Coverage Status Known Vulnerabilities

wtfwith is a module we were all waiting for!

It checks your package-lock.json or npm-shrinkwrap.json for repeated dependencies with different versions.

Installation

Not required. Or run npm i -g wtfwith if you really want.

Usage

  1. Change to your project directory: cd /your/project/dir;

  2. Check that you have package-lock.json or npm-shrinkwrap.json there (or run npm i);

  3. Run npx wtfwith moduleName or npx wtfwith everything!

  4. Enjoy!

More options

  • You can use any module name, or my favorite command: npx wtfwith everything!

  • Use --dev option to include dev dependencies check.

  • Use --min x option to check for more then x duplicates of dependencies.

Live example

live

Changelog

  • 1.1.1, 1.1.2: some more tests and decomposition
  • 1.1.0: added support for npm-shrinkwrap.json
  • 1.0.20: many small fixes

install

npm i wtfwith

Downloadsweekly downloads

108

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability