touch-ms

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i touch-ms

Weekly Downloads

5

Version

0.1.1

License

MIT

Unpacked Size

14.7 kB

Total Files

22

Last publish

Collaborators

  • jlenoble