touch-ms
v0.1.1
Published
Touch, asynchronous and with millisecond granularity
Downloads
17
Readme
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