arudradey's picture
|
download
raw
930 Bytes

clone-stats Flattr this!experimental

Safely clone node's fs.Stats instances without losing their class methods, i.e. stat.isDirectory() and co.

Usage

clone-stats

copy = require('clone-stats')(stat)

Returns a clone of the original fs.Stats instance (stat).

License

MIT. See LICENSE.md for details.

Xet Storage Details

Size:
930 Bytes
·
Xet hash:
454bf17dbc436fd5264a4ec8000ff1309ac4e3fce460b578aafe03e9f57328e7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.