overseer/node_modules/clone-stats
2022-11-01 18:49:18 -04:00
..
index.js Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
LICENSE.md Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
package.json Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
README.md Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00
test.js Added Gulp.js for compiling SCSS stylesheets 2022-11-01 18:49:18 -04:00

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.