1.2.2 • Published 9 months ago

@winches/ghost v1.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

@winches/ghost

幽灵依赖扫描工具 scan ghost in project

Usage

Global CLI(命令行注册)

npm i -g @winches/ghost
pnpm add -g @winches/ghost
yarn add -g @winches/ghost

scan

# 默认在项目目录下选择文件扫描 
ghost scan

set scan dir or file

ghost scan packages/pkg1/src

set package.json path to compare

ghost scan src -p otherDir/package.json

Local Use (本地使用)

npm i @winches/ghost -D
# or
yarn add @winches/ghost -D
# or
pnpm add @winches/ghost -D

Usage Template (本地使用示例)

import { findGhost } from '@winches/ghost'

const phantomDependency = findGhost(
  path.join(__dirname, 'src'),
  path.join(process.cwd(), 'package.json')
)

More Info

ghost --help

ghost scan --help

ghost -v
1.2.2

9 months ago

1.2.1

9 months ago

1.2.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago