sensordb2 e64a8defe5 3.17 | vor 1 Jahr | |
---|---|---|
.. | ||
LICENSE.md | vor 1 Jahr | |
README.md | vor 1 Jahr | |
index.js | vor 1 Jahr | |
package.json | vor 1 Jahr | |
test.js | vor 1 Jahr |
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.