marvinhagemeister / Errorstacks
Licence: mit
Tiny library to parse error stack traces
Stars: ✭ 29
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Errorstacks
Whispers
Identify hardcoded secrets and dangerous behaviours
Stars: ✭ 66 (+127.59%)
Mutual labels: parser, parsing
Nearley
📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.
Stars: ✭ 3,089 (+10551.72%)
Mutual labels: parser, parsing
Goose Parser
Universal scrapping tool, which allows you to extract data using multiple environments
Stars: ✭ 211 (+627.59%)
Mutual labels: parser, parsing
Parse Xml
A fast, safe, compliant XML parser for Node.js and browsers.
Stars: ✭ 184 (+534.48%)
Mutual labels: parser, parsing
Meriyah
A 100% compliant, self-hosted javascript parser - https://meriyah.github.io/meriyah
Stars: ✭ 690 (+2279.31%)
Mutual labels: parser, parsing
Neodoc
Beautiful, hand-crafted commandline interfaces for node.js
Stars: ✭ 221 (+662.07%)
Mutual labels: parser, parsing
Self Attentive Parser
High-accuracy NLP parser with models for 11 languages.
Stars: ✭ 569 (+1862.07%)
Mutual labels: parser, parsing
Seafox
A blazing fast 100% spec compliant, self-hosted javascript parser written in Typescript
Stars: ✭ 425 (+1365.52%)
Mutual labels: parser, parsing
Cppsharp
Tools and libraries to glue C/C++ APIs to high-level languages
Stars: ✭ 2,221 (+7558.62%)
Mutual labels: parser, parsing
Fuzi
A fast & lightweight XML & HTML parser in Swift with XPath & CSS support
Stars: ✭ 894 (+2982.76%)
Mutual labels: parser, parsing
Command Line Api
Command line parsing, invocation, and rendering of terminal output.
Stars: ✭ 2,418 (+8237.93%)
Mutual labels: parser, parsing
Arpeggio
Parser interpreter based on PEG grammars written in Python http://textx.github.io/Arpeggio/
Stars: ✭ 204 (+603.45%)
Mutual labels: parser, parsing
Escaya
An blazing fast 100% spec compliant, incremental javascript parser written in Typescript
Stars: ✭ 217 (+648.28%)
Mutual labels: parser, parsing
Whois Parser
Go(Golang) module for domain whois information parsing.
Stars: ✭ 123 (+324.14%)
Mutual labels: parser, parsing
Dan Jurafsky Chris Manning Nlp
My solution to the Natural Language Processing course made by Dan Jurafsky, Chris Manning in Winter 2012.
Stars: ✭ 124 (+327.59%)
Mutual labels: parser, parsing
Esprima
ECMAScript parsing infrastructure for multipurpose analysis
Stars: ✭ 6,391 (+21937.93%)
Mutual labels: parser, parsing
errorstacks
Simple parser for Error stack traces.
Currently supported browsers/platforms:
- Firefox
- Chrome
- Edge
- Node
Usage
Install errorstacks
via your package manager of choice. Here we'll use npm
.
npm install errorstacks
Example code:
import { parseStackTrace } from 'errorstacks';
function foo() {
throw new Error('fail');
}
try {
foo();
} catch (err) {
const parsed = parseStackTrace(err.stack);
console.log(parsed);
// Logs:
// [
// {
// line: 4,
// column: 8,
// type: '',
// name: 'foo',
// raw: ' at foo (/my-project/foo.ts:4:8)'
// },
// ]
Note: type
will be the string "native"
if native code execution was detected.
License
MIT, see the license file
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].