Licence
MIT
Version
0.1.1
Deps
0
Size
14 kB
Vulns
0
Weekly
0
touch-ms
Touch, asynchronous and with millisecond granularity
Usage
A minimal helper to update asynchronously the mtime and atime of an existing file with the current date at millisecond granularity.
import touchMs from 'touch-ms';
touchMs('path/to/file'); // Returns a promise resolving to the new stats
License
touch-ms is MIT licensed.
2017 Jason Lenoble