# comlog-system-monitor-filetime

> Installation via ```sh $ npm install -s comlog-system-monitor-filetime ```

Latest version **1.1.0** (published 2019-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install comlog-system-monitor-filetime
pnpm add comlog-system-monitor-filetime
yarn add comlog-system-monitor-filetime
bun add comlog-system-monitor-filetime
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-04-09 |
| First published | 2017-07-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | COMLOG GmbH |
| Maintainers | comlog.gmbh |
| Keywords | Filetime, watcher, system |

## Links

- npm: https://www.npmjs.com/package/comlog-system-monitor-filetime
- Repository: https://github.com/comlog-gmbh/comlog-system-monitor-filetime
- Homepage: https://github.com/comlog-gmbh/comlog-system-monitor-filetime#readme
- Issues: https://github.com/comlog-gmbh/comlog-system-monitor-filetime/issues
- npm.io page: https://npm.io/package/comlog-system-monitor-filetime

## Dependencies (1)

- [comlog-event-handler](https://npm.io/package/comlog-event-handler.md) >=1.0.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-04-09
- 1.0.2 — 2017-07-25

## README

# Watch a file for changes

Installation via
```sh
$ npm install -s comlog-system-monitor-filetime
```

# Usage
```javascript
var Service = require('comlog-system-monitor-filetime');

var csmf = new Service({
	path: "/var/log/messages", // Or function
	interval: 60000, // 1 Minute
	timeout: 30000 // 0.5 Minute
});

csmf.on('error', function(err) {
    console.error(err);
});

// bind event
csmf.on('down', function() {
    console.info('Log timestamp overflow');
});

// bind event
csmf.on('up', function() {
    console.info('Log timestamp is ok');
});
```

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