# tailed

> evented file tailing (tail -f + EventEmitter)

Latest version **0.0.2** (published 2012-03-09) · 0 weekly downloads

## Install

```sh
npm install tailed
pnpm add tailed
yarn add tailed
bun add tailed
```

## 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.0.2 |
| Published | 2012-03-09 |
| First published | 2012-03-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brian M. Carlson |
| Maintainers | brianc |

## Links

- npm: https://www.npmjs.com/package/tailed
- Repository: https://github.com/brian/tailed
- npm.io page: https://npm.io/package/tailed

## Recent versions

- 0.0.2 (latest) — 2012-03-09
- 0.0.1 — 2012-03-05

## README

#tailed

[![Build Status](https://secure.travis-ci.org/brianc/node-ami.png)](http://travis-ci.org/brianc/node-ami])

## _under development_

## example

```js
var tailed = require('tailed');

var logFilePath = __dirname + '/logs/development.log';

tailed(logFilePath, function(err, tail){
  if(err) { /* error handling code */ }

  tail.on('data', function(data){
    console.log(data);
  });
});
```
note: API is still in flux

## things _tailed_ handles
 - any encoding supported by node buffers
 - tailed files getting truncated while being tailed
 - tailed files getting deleted while being tailed (_tailed_ emits error for now)

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