# touch-ms

> Touch, asynchronous and with millisecond granularity

Latest version **0.1.1** (published 2019-01-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install touch-ms
pnpm add touch-ms
yarn add touch-ms
bun add touch-ms
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-01-17 |
| First published | 2017-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.5.0 |
| Dependencies | 0 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jason Lenoble |
| Maintainers | jlenoble |

## Links

- npm: https://www.npmjs.com/package/touch-ms
- Repository: https://github.com/jlenoble/touch-ms
- Homepage: https://github.com/jlenoble/touch-ms#readme
- Issues: https://github.com/jlenoble/touch-ms/issues
- npm.io page: https://npm.io/package/touch-ms

## Recent versions

- 0.1.1 (latest) — 2019-01-17
- 0.1.0 — 2017-12-09

## README

# touch-ms

Touch, asynchronous and with millisecond granularity

  * [Usage](#usage)
  * [License](#license)


## Usage

A minimal helper to update asynchronously the `mtime` and `atime` of an *existing* file with the current date at millisecond granularity.

```js
import touchMs from 'touch-ms';

touchMs('path/to/file'); // Returns a promise resolving to the new stats
```

## License

touch-ms is [MIT licensed](./LICENSE).

© 2017 [Jason Lenoble](mailto:jason.lenoble@gmail.com)

---
_Source: https://npm.io/package/touch-ms · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
