1.72 GB
20,066 files
Updated about 2 months ago
Name
Size
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.72 GB
Files
20,066
Last updated
May 12
Pre-warmed CDN
US EU US EU

Contributors