1.39 GB
20,046 files
Updated 15 days ago
NameSize
LICENSE.md1.09 kB
xet
README.md930 Bytes
xet
index.js228 Bytes
xet
package.json705 Bytes
xet
test.js757 Bytes
xet
README.md

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.

Total size
1.39 GB
Files
20,046
Last updated
May 9
Pre-warmed CDN
US EU US EU

Contributors