陈鹏铭 0e441ebeb1 仓库创建 1 éve%!(EXTRA string=óta)
..
LICENSE.md 0e441ebeb1 仓库创建 1 éve%!(EXTRA string=óta)
README.md 0e441ebeb1 仓库创建 1 éve%!(EXTRA string=óta)
index.js 0e441ebeb1 仓库创建 1 éve%!(EXTRA string=óta)
package.json 0e441ebeb1 仓库创建 1 éve%!(EXTRA string=óta)
test.js 0e441ebeb1 仓库创建 1 éve%!(EXTRA string=óta)

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.