sharp-stacktrace
v0.0.7
Published
A .NET stacktrace parser in JavaScript
Downloads
2
Readme
sharp-stacktrace
A .NET stacktrace parser in JavaScript.
> var SharpStacktrace = require("sharp-stacktrace")
> var stacktrace = new SharpStacktace("at System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) [0x00000] in <filename unknown>:0")
> stacktrace.lines[0].type
{ arity: 2,
dimensions: 0,
name: 'System.Collections.Generic.Dictionary',
parameters:
[ { arity: 0, dimensions: 0, name: 'string', pretty: 'string' },
{ arity: 0, dimensions: 0, name: 'string', pretty: 'string' } ],
pretty: 'System.Collections.Generic.Dictionary<string, string>' }
Contributing
$ npm install
$ npm test