4.7.2 • Published 6 months ago

qiao-console v4.7.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

qiao-console

npm version npm downloads

nodejs 下 console 常见 api 封装

install

安装

npm i qiao-console

use

使用

// cjs
const { clear, writeLine } = require('qiao-console');

// mjs
import { clear, writeLine } from 'qiao-console';

api

clear

清空 console

clear();

writeLine

在 console 的某一行输出信息

  • line
    • 类型: number
    • 说明: 行数
  • content
    • 类型: string
    • 说明: 内容
writeLine(line, content);

others

// clear line
clearLine();

// move to
moveTo(x, y);

// write
write(msg);

// write line xy
writeLineXY(x, y, msg);
4.7.2

6 months ago

4.5.1

1 year ago

4.4.2

1 year ago

4.2.6

2 years ago

4.0.0

2 years ago

4.3.0

2 years ago

4.1.1

2 years ago

3.4.7

2 years ago

3.1.2

2 years ago

3.1.5

2 years ago

3.1.4

2 years ago

3.2.7

2 years ago

3.1.1

2 years ago

3.0.0

2 years ago

1.0.4

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago