# trace

> Creates super long stack traces

Latest version **3.2.0** (published 2024-10-23) · MIT license · 0 weekly downloads

## Install

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

## 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 | 3.2.0 |
| Published | 2024-10-23 |
| First published | 2012-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0 |
| Dependencies | 1 |
| Unpacked size | 84.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 195 |
| Author | Andreas Madsen |
| Maintainers | andreasmadsen |
| Keywords | trace, long stacks, long trace, stack, call, async |

## Links

- npm: https://www.npmjs.com/package/trace
- Repository: https://github.com/AndreasMadsen/trace
- Homepage: https://github.com/AndreasMadsen/trace#readme
- Issues: https://github.com/AndreasMadsen/trace/issues
- npm.io page: https://npm.io/package/trace

## Dependencies (1)

- [stack-chain](https://npm.io/package/stack-chain.md) ^2.0.0

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 3.2.0 (latest) — 2024-10-23
- 3.1.1 — 2018-10-28
- 3.1.0 — 2017-12-27
- 3.0.0 — 2017-05-30
- 2.4.1 — 2016-12-25
- 2.4.0 — 2016-12-11
- 2.3.3 — 2016-07-26
- 2.3.2 — 2016-06-28
- 2.3.1 — 2016-06-28
- 2.3.0 — 2016-02-23
- 2.0.2 — 2016-01-04
- 2.2.1 — 2016-01-04
- 2.2.0 — 2015-12-29
- 2.1.1 — 2015-12-26
- 2.1.0 — 2015-12-15
- … 18 more at https://npm.io/package/trace/versions

## README

# trace [![Build Status](https://secure.travis-ci.org/AndreasMadsen/trace.svg)](http://travis-ci.org/AndreasMadsen/trace)

> Creates super long stack traces

See https://trace.js.org for examples.

**Trace only works with node.js v8.x and newer.** Use `npm install trace@^2`
for node.js v6 and v4.

## How

```sheel
npm install trace --save
node --stack_trace_limit=100 -r trace debug-me.js
```

This will provide a very long stack trace, if you are not interested in
node internal lines, take a look at [clarify](https://github.com/AndreasMadsen/clarify).

```sheel
npm install clarify --save
node --stack_trace_limit=100 -r trace -r clarify debug-me.js
```

For specific examples see https://trace.js.org.

## Found a bug?

I encourage you to file any bugs you may find, even if you can't reduce the
issue to only involve nodecore modules. I will then use all my power to fix it.

> I want this module to be the best and most trusted async trace module ever!

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