【文件属性】:
文件名称:fs-chunk-store:符合抽象块存储的文件系统(fs)块存储
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-22 21:31:42
JavaScript
fs-chunk-store
符合块存储的文件系统(fs)块存储
安装
npm install fs-chunk-store
用法
用一个文件备份商店
var FSChunkStore = require ( 'fs-chunk-store' )
var chunks = new FSChunkStore ( 10 , {
path : '/tmp/my_file' , // optional: path to file (default: temp file will be used)
length : 100 // optional: file length in bytes (default: file expands based on `put`s)
} )
备份具有多个文件的商店
var FSChunkStore = require ( 'fs-chunk-stor
【文件预览】:
fs-chunk-store-master
----test.js(6KB)
----.npmignore(31B)
----.travis.yml(37B)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(19B)
----index.js(7KB)
----package.json(1KB)