# ndooe-clean

> 一个批量安装、删除、更新 node_modules 依赖的命令行工具

Latest version **1.0.1** (published 2022-04-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install ndooe-clean
pnpm add ndooe-clean
yarn add ndooe-clean
bun add ndooe-clean
```

Provides the command `ndooe-clean`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-04-26 |
| First published | 2022-04-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | gongyuan303 |
| Maintainers | gongyuan303 |
| Keywords | ndooe-clean, nc, cli, npm |

## Links

- npm: https://www.npmjs.com/package/ndooe-clean
- Repository: https://github.com/gongyuan303/ndooe-clean
- Homepage: https://github.com/gongyuan303/ndooe-clean#readme
- Issues: https://github.com/gongyuan303/ndooe-clean/issues
- npm.io page: https://npm.io/package/ndooe-clean

## Dependencies (5)

- [glob](https://npm.io/package/glob.md) ^7.2.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [yargs](https://npm.io/package/yargs.md) 16
- [rimraf](https://npm.io/package/rimraf.md) ^3.0.2
- [inquirer](https://npm.io/package/inquirer.md) ^8.2.0

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-04-26
- 1.0.0 — 2022-04-26

## README

# ndooe-clean

## 简介
`ndooe-clean` 是一个批量安装、删除、更新 node_modules 依赖的命令行工具。

主要是为了方便以下场景的使用：
- 初始化一个项目，而它有多个文件夹需要安装依赖
- 想给多个项目同时更新某些 npm 包
- 更新 node 版本后，需要给项目重新安装依赖
- 硬盘容量不足，想一次性删除某些目录下的 node_modules
- 迁移数据的时候，删除 node_modules 以提高迁移速度

todo:
yml 配置化功能还没加入，目的是为了批量处理一下散乱的项目，等有时间再搞 ：）
## 安装
```
npm install -g ndooe-clean
```

## 使用
```
# 查看帮助
ndooe-clean -h

# 递归删除特定目录下的所有 node_modules
ndooe-clean remove -d dir_path

# 递归安装特定目录下的所有项目（带 package.json 文件的目录）
ndooe-clean install -d dir_path

```

---
_Source: https://npm.io/package/ndooe-clean · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
