# @typeshell/os-command

> ## 目标

Latest version **0.0.12** (published 2019-07-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install @typeshell/os-command
pnpm add @typeshell/os-command
yarn add @typeshell/os-command
bun add @typeshell/os-command
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.12 |
| Published | 2019-07-28 |
| First published | 2019-02-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 18 |
| Unpacked size | 92.2 KB |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | amslime, ethel, linjyang, lteam |

## Links

- npm: https://www.npmjs.com/package/@typeshell/os-command
- Repository: https://github.com/TypeShell/os-command
- Homepage: https://github.com/TypeShell/os-command#readme
- Issues: https://github.com/TypeShell/os-command/issues
- npm.io page: https://npm.io/package/@typeshell/os-command

## Dependencies (18)

- [chai](https://npm.io/package/chai.md) ^4.2.0
- [axios](https://npm.io/package/axios.md) ~0.18.0
- [chalk](https://npm.io/package/chalk.md) ~2.4.2
- [mocha](https://npm.io/package/mocha.md) ^6.0.2
- [lodash](https://npm.io/package/lodash.md) ~4.17.11
- [fs-extra](https://npm.io/package/fs-extra.md) ~7.0.1
- [minimist](https://npm.io/package/minimist.md) ~1.2.0
- [@types/chai](https://npm.io/package/@types/chai.md) ^4.1.7
- [@types/chalk](https://npm.io/package/@types/chalk.md) ~2.2.0
- [@types/mocha](https://npm.io/package/@types/mocha.md) ^5.2.6
- [@types/unzip](https://npm.io/package/@types/unzip.md) ^0.1.1
- [@utilx/stream](https://npm.io/package/@utilx/stream.md) latest
- [@utilx/string](https://npm.io/package/@utilx/string.md) latest
- [@utilx/process](https://npm.io/package/@utilx/process.md) latest
- [@utilx/promise](https://npm.io/package/@utilx/promise.md) latest
- [@types/fs-extra](https://npm.io/package/@types/fs-extra.md) ~5.0.5
- [@types/minimist](https://npm.io/package/@types/minimist.md) ~1.2.0
- [@utilx/iterator](https://npm.io/package/@utilx/iterator.md) latest

## Recent versions

- 0.0.12 (latest) — 2019-07-28
- 0.0.11 — 2019-05-07
- 0.0.10 — 2019-04-15
- 0.0.9 — 2019-04-14
- 0.0.8 — 2019-04-12
- 0.0.7 — 2019-04-12
- 0.0.6 — 2019-04-11
- 0.0.5 — 2019-04-09
- 0.0.4 — 2019-04-05
- 0.0.3 — 2019-02-21
- 0.0.2 — 2019-02-21
- 0.0.1 — 2019-02-21

## README

# OS-Command

## 目标

提供系统级别的命令，提供跨平台的能力
包括以下内容：

1. 文件系统: ls, find, fse: rm, mv
2. 网络系统栈: network
3. 跨平台通用基本gui，用于脚本编程：我们不打算集成qt库之类的界面库，我们的解决方案是利用原生工具进行命令行编程：
    1. 采用web server的方式，提供界面 -- web gui
    2. 如果nodeshell进化成自带electron，那么，采用自身的渲染引擎
    3. oascript以及zenity，可以作为一个基本库抽取出来，提供一种简单轻量级的选择 -- tool gui, best effort
4. 文件以及字符串流的处理，由`@utilx/stream`来处理


# 职责

1. cmd-types 处理的是 浅层命令封装
2. os-command处理的是 系统级别的命令，提供跨平台的能力
3. 其余的功能，docker，aliyun，则通过其他api封装库来实现，并不属于os-command

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