# @typeshell/env

> ## 如何写文件和读文件

Latest version **0.0.4** (published 2019-04-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install @typeshell/env
pnpm add @typeshell/env
yarn add @typeshell/env
bun add @typeshell/env
```

## 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.4 |
| Published | 2019-04-12 |
| First published | 2019-02-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 17 |
| Unpacked size | 22 KB |
| Known vulnerabilities | 0 (+25 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | amslime, ethel, linjyang, lteam |

## Links

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

## Dependencies (17)

- [uuid](https://npm.io/package/uuid.md) ^3.3.2
- [axios](https://npm.io/package/axios.md) ^0.18.0
- [mocha](https://npm.io/package/mocha.md) ^6.1.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [semver](https://npm.io/package/semver.md) ^6.0.0
- [dockerode](https://npm.io/package/dockerode.md) ^2.5.8
- [@types/uuid](https://npm.io/package/@types/uuid.md) ^3.4.4
- [@types/mocha](https://npm.io/package/@types/mocha.md) ^5.2.6
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.14.123
- [@types/semver](https://npm.io/package/@types/semver.md) ^6.0.0
- [@utilx/stream](https://npm.io/package/@utilx/stream.md) latest
- [@utilx/string](https://npm.io/package/@utilx/string.md) latest
- [puppeteer-core](https://npm.io/package/puppeteer-core.md) ^1.12.2
- [@types/dockerode](https://npm.io/package/@types/dockerode.md) ^2.5.12
- [@typeshell/cmd-type](https://npm.io/package/@typeshell/cmd-type.md) latest
- [@types/puppeteer-core](https://npm.io/package/@types/puppeteer-core.md) ^1.9.0
- [@typeshell/os-command](https://npm.io/package/@typeshell/os-command.md) latest

## Recent versions

- 0.0.4 (latest) — 2019-04-12
- 0.0.3 — 2019-04-11
- 0.0.2 — 2019-04-10
- 0.0.1 — 2019-02-21

## README

# shellenv

## 如何写文件和读文件

对于异步设计：

```typescript
echo("Hello world\nHello universe")
    .tee("filepath1", ["filepath2 in append-mode"], "filepath3")
echoln("Hello world", "Hello universe")
    .tee("filepath1", ["filepath2 in append-mode"], "filepath3")

cat("filepath1", "filepath2")
```

对于同步设计

```typescript
echo$("hello world", "hello world2")
    .tee$("filepath1", ["filepath2 in append-mode"], "filepath3")
    .tee$("filepath1", ["filepath2 in append-mode"], "filepath3")
```

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