Welcome to mirror list, hosted at ThFree Co, Russian Federation.

find-dupes.js « lib « npm « deps - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 19e7ea6a7c8cc5688627e1c58c2033382facc6ff (plain)
1
2
3
4
5
6
7
8
// dedupe duplicated packages, or find them in the tree
const dedupe = require('./dedupe.js')
const usageUtil = require('./utils/usage.js')

const usage = usageUtil('find-dupes', 'npm find-dupes')
const cmd = (args, cb) => dedupe({ dryRun: true }, cb)

module.exports = Object.assign(cmd, { usage })