0.3.2 • Published 5 years ago

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

Weekly downloads
31
License
ISC
Repository
github
Last release
5 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

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.0

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.15

5 years ago

0.0.16

5 years ago

0.0.17

5 years ago

0.0.18

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago