JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 163
  • Score
    100M100P100Q89533F
  • License Apache-2.0

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

Package Exports

  • netstack.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (netstack.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

netStack.js

npm license

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

Stacktrace - Language support

English Danish German

Demo

netStack.js - demo

Stack Trace Formatter - Online pretty print of .NET stack traces

Initialization

$('.stacktrace').netStack();

Default values for classes

$('.stacktrace').netStack({
    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'
});

Options

prettyprint: boolean

Default: false. Pretty prints your stacktrace.

$('.stacktrace').netStack({
    prettyprint: true
});

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;}