</>PackageGraphPackageGraph

error-stack-parser

npmv2.1.4TypeScript

Extract meaning from JS Errors

Not recommended for new projects

No — error-stack-parser should not be adopted for new projects. Last published 1556 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1556 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 58 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 5 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding error-stack-parser to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

58 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing error-stack-parser, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the error-stack-parser README.

ErrorStackParser.parse(new Error('BOOM'));

=> [
        StackFrame({functionName: 'foo', args: [], fileName: 'path/to/file.js', lineNumber: 35, columnNumber: 79, isNative: false, isEval: false}),
        StackFrame({functionName: 'Bar', fileName: 'https://cdn.somewherefast.com/utils.min.js', lineNumber: 1, columnNumber: 832, isNative: false, isEval: false, isConstructor: true}),
        StackFrame(... and so on ...)
   ]

error-stack-parser vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
error-stack-parserthis page02MIT4 years ago
callsites136.7M1MIT2 days ago
stackframe01MIT2 days ago
stacktrace-parser04MIT2 days ago
commander451.1M11MIT2 days ago
postcss249.3M7MIT2 days ago

Dependencies

Declared by error-stack-parser v2.1.4. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (16)

eslint ^8.17.0jasmine ^4.1.0jasmine-core ^4.1.1karma ^6.3.20karma-chrome-launcher ^3.1.1karma-coverage ^2.2.0karma-coveralls ^2.1.0karma-firefox-launcher ^2.1.2karma-ie-launcher ^1.0.0karma-jasmine ^4.0.2karma-opera-launcher ^1.0.0karma-phantomjs-launcher ^1.0.4karma-safari-launcher ^1.0.0karma-sauce-launcher ^4.3.6karma-spec-reporter ^0.0.34uglify-es ^3.3.9

Used by

Popular packages that depend on error-stack-parser.

Relationship graph

Dependencies (left) and dependents (right) of error-stack-parser.

stackframemysql2metroerror-stack-parser
error-stack-parser dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 36 days apart.

Recent versions of error-stack-parser
VersionPublishedSizeLicense
2.1.4latest4 years ago35 KBMIT
2.1.34 years ago35 KBMIT
2.1.24 years ago35 KBMIT
3.0.04 years ago35 KBMIT
2.1.14 years ago35 KBMIT
2.1.04 years ago35 KBMIT
2.0.74 years ago36 KBMIT
2.0.66 years ago37 KBMIT
2.0.56 years ago32 KBMIT
2.0.47 years ago51 KBMIT
2.0.37 years ago49 KBMIT
2.0.28 years ago47 KBMIT
2.0.19 years agoMIT
2.0.09 years agoUnlicense
1.3.610 years agoUnlicense

Overview

error-stack-parser is an npm package that extract meaning from JS Errors. It has 2 known dependents in the graph. The latest version is 2.1.4, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need extract meaning from JS Errors and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (17 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use error-stack-parser?

No — error-stack-parser should not be adopted for new projects. Last published 1556 days ago.

How do I install error-stack-parser?

Run `npm install error-stack-parser` to add error-stack-parser to your npm project.

How many dependencies does error-stack-parser have?

error-stack-parser declares 17 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 58 KB on disk.

What license is error-stack-parser released under?

error-stack-parser is distributed under the MIT license.

How popular is error-stack-parser?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on error-stack-parser.

Is error-stack-parser still maintained?

The most recent release of error-stack-parser (v2.1.4) was published 4 years ago.

Does error-stack-parser run install scripts?

No. error-stack-parser does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.