0.3.2 • Published 3 years ago

@js-core/node-io-library v0.3.2

Weekly downloads
31
License
ISC
Repository
github
Last release
3 years ago

Node IO

Node IO 相关命令

安装

npm install -g @js-core/node-io-library

使用

# 递归列出当前目录下的文件及Hash
node-io tree ./ --hash

# 递归列出当前目录下文件名以js结尾的文件及Hash
node-io tree ./ --hash --file-filter "js$"

# 将 src/ 目录及其子目录下的文件展开全部放到 dest/ 根目录下
# 并忽略内容重复文件, 如果文件名重复, 将文件hash放在文件名里然后再拷贝到 dest/
node-io tidy src/ dest/ 

# 仅仅打印文件内容重复和文件名重复报告, 不执行拷贝
node-io tidy src/ --report

# 将文件内容进行base64编码
node-io base64 ./hello.png
# 将文件编码成img标签使用的内容
node-io base64 ./hello.png --html-image-prefix
# 将文件内容进行base64解码
node-io base64 ./hello.base64 --decode
# 输出Hello的base64编码
node-io base64 --text 'Hello'
0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

4 years ago

0.1.0

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.18

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago