Bachir Soussi Chiadmi ac58a24f5c added bower, gulp | 7 years ago | |
---|---|---|
.. | ||
LICENSE.md | 7 years ago | |
README.md | 7 years ago | |
index.js | 7 years ago | |
package.json | 7 years ago | |
test.js | 7 years ago |
Safely clone node's
fs.Stats
instances without
losing their class methods, i.e. stat.isDirectory()
and co.
copy = require('clone-stats')(stat)
Returns a clone of the original fs.Stats
instance (stat
).
MIT. See LICENSE.md for details.