# @elmah.io/stacktrace.js

> A simple and easy jQuery plugin for highlighting .NET stack traces

Latest version **1.0.4** (published 2018-04-26) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @elmah.io/stacktrace.js
pnpm add @elmah.io/stacktrace.js
yarn add @elmah.io/stacktrace.js
bun add @elmah.io/stacktrace.js
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-04-26 |
| First published | 2018-04-26 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 197.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | elmah.io |
| Maintainers | elmah.io |
| Keywords | stacktrace, .net, exception |

## Links

- npm: https://www.npmjs.com/package/@elmah.io/stacktrace.js
- Repository: https://github.com/elmahio/stacktrace.js
- Homepage: https://github.com/elmahio/stacktrace.js#readme
- Issues: https://github.com/elmahio/stacktrace.js/issues
- npm.io page: https://npm.io/package/@elmah.io/stacktrace.js

## Recent versions

- 1.0.4 (latest) — 2018-04-26

## README

# stacktrace.js
A simple and easy jQuery plugin for highlighting .NET stack traces

#### Demo
![stackTrace.js - demo](example.jpg)

#### Initialization
```
$('.stacktrace').stackTrace();
```

#### Default values for classes
```
$('.stacktrace').stackTrace({
    frame: 'st-frame',
    type: 'st-type',
    method: 'st-method',
    paramsList: 'st-frame-params',
    paramType: 'st-param-type',
    paramName: 'st-param-name',
    file: 'st-file',
    line: 'st-line'
});
```

#### Ready to go css
```
pre, code {background-color:#333; color: #ffffff;}
.st-type {color: #0a8472; font-weight: bolder;}
.st-method {color: #70c9ba; font-weight: bolder;}
.st-frame-params {color: #ffffff; font-weight: normal;}
.st-param-type {color: #0a8472;}
.st-param-name {color: #ffffff;}
.st-file {color:#f8b068;}
.st-line {color:#ff4f68;}
```

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