@typeshell/env
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

shellenv

如何写文件和读文件

对于异步设计:

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")

对于同步设计

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

Readme

Keywords

none

Package Sidebar

Install

npm i @typeshell/env

Weekly Downloads

2

Version

0.0.4

License

ISC

Unpacked Size

22.5 kB

Total Files

14

Last publish

Collaborators

  • amslime
  • x-cmd
  • edwinjhlee
  • lteam