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: 95791637821446005748507e554c8455bd1ef049 (plain)
1
2
3
4
5
6
7
8
9
// 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 completion = require('./utils/completion/none.js')
const cmd = (args, cb) => dedupe({ dryRun: true }, cb)

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