# stacky

> Stacky parses stack traces from various sources, and formats them in readable ways.

Latest version **1.3.1** (published 2015-12-03) · BSD-3-Clause license · 0 weekly downloads

## Install

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

## 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.3.1 |
| Published | 2015-12-03 |
| First published | 2014-08-28 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 74 |
| Author | The Polymer Authors |
| Maintainers | nevir, polymer, azakus, garlicnation |
| Keywords | stack, trace, error, stack parser, trace parser |

## Links

- npm: https://www.npmjs.com/package/stacky
- Repository: https://github.com/PolymerLabs/stacky
- Issues: https://github.com/PolymerLabs/stacky/issues
- npm.io page: https://npm.io/package/stacky

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [lodash](https://npm.io/package/lodash.md) ^3.0.0

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 1.3.1 (latest) — 2015-12-03
- 1.3.0 — 2015-12-03
- 1.2.5 — 2015-11-18
- 1.2.3 — 2015-08-20
- 1.2.2 — 2015-04-08
- 1.2.1 — 2015-04-02
- 1.2.0 — 2014-11-24
- 1.1.2 — 2014-10-13
- 1.1.1 — 2014-09-30
- 1.1.0 — 2014-09-30
- 1.0.1 — 2014-08-28
- 1.0.0 — 2014-08-28

## README

[![NPM version](http://img.shields.io/npm/v/stacky.svg)](https://npmjs.org/package/stacky)
[![Build Status](http://img.shields.io/travis/PolymerLabs/stacky.svg)](https://travis-ci.org/PolymerLabs/stacky)

# Stacky

## Formatting

`stacky.pretty(error.stack)`:

![Example Pretty Stack](example.png?raw=true)

`pretty` Provides [several options](lib/formatting.js#L15-L36) allowing you to
tweak the output format to your liking.


## Parsing

`stacky.parse(error.stack)`:

```js
[
  {
    method:   'thingCalled',
    location: 'some/file.js',
    line:     1,
    column:   2,
  }
  ...
]
```

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