【文件属性】:
文件名称:gunzip-file:将源 .gz 存档解压缩到指定的目标文件
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-30 21:47:31
JavaScript
gunzip 文件
将源 .gz 存档提取到指定的目标文件。
npm install gunzip-file
用法
传递源.gz文件和目标文件, .gz将被提取到目标文件。
gunzip ( 'example.json.gz' , 'example.json' ) ;
此外,您可以传递将在提取完成时执行的回调。
gunzip ( 'example.json.gz' , 'example.json' , function ( ) {
console . log ( 'This is called when the extraction is completed.' ) ;
} ) ;
执照
麻省理工学院
【文件预览】:
gunzip-file-master
----test.js(803B)
----.travis.yml(79B)
----LICENSE(1KB)
----README.md(630B)
----.gitignore(526B)
----index.js(842B)
----package.json(753B)