# track

Latest version **0.1.1** (published 2012-11-19) · 0 weekly downloads

## Install

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

## 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 | 2012-11-19 |
| First published | 2012-05-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Christian Tellnes |
| Maintainers | tellnes |

## Links

- npm: https://www.npmjs.com/package/track
- Repository: https://github.com/tellnes/track.js
- npm.io page: https://npm.io/package/track

## Recent versions

- 0.1.1 (latest) — 2012-11-19
- 0.1.0 — 2012-10-01
- 0.0.7 — 2012-09-25
- 0.0.6 — 2012-09-25
- 0.0.5 — 2012-09-24
- 0.0.4 — 2012-07-14
- 0.0.3 — 2012-06-17
- 0.0.2 — 2012-05-28
- 0.0.1 — 2012-05-27

## README

# Track.js


## Install

    $ npm install -S track

## Include track

```js
var track = require('track')
```

## Express example

```js
app.get('/', function (req, res, next) {
  var t = track()

  db.select('user', t('user'))

  db.select('data', t('data'))

  t.end(function (err, locals) {
    if (err) return next(err)

    res.render('something', locals)
  })
})
```

## Hello World example

```js
var t = track()

t('name', function (cb) {
  cb(null, 'World')
})()

t('hello', ['name'], function (name, cb) {
  cb(null, 'Hello ' + name)
})()

t.end(function (err, results) {
  console.log(results.hello === 'Hello World')
})
```

## Licence

MIT

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