Socket
Socket
Sign inDemoInstall

metro-symbolicate

Package Overview
Dependencies
49
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    metro-symbolicate

🚇 A tool to find the source location from JS bundles and stack traces.


Version published
Weekly downloads
2.3M
decreased by-0.19%
Maintainers
2
Created
Weekly downloads
 

Package description

What is metro-symbolicate?

The metro-symbolicate package is part of the Metro bundler (used by React Native) that provides functionality for symbolication. Symbolication is the process of converting machine code addresses back into human-readable source code locations (file names and line numbers). This is particularly useful for interpreting stack traces that are generated from minified or compiled code, making debugging much easier.

What are metro-symbolicate's main functionalities?

Symbolicating stack traces

This feature allows developers to pass a stack trace to the `symbolicateStackTrace` function, which returns a promise that resolves to a symbolicated stack trace. The symbolicated stack trace includes file names, line numbers, and even column numbers when available, making it easier to debug issues.

const symbolicateStackTrace = require('metro-symbolicate').symbolicateStackTrace;
symbolicateStackTrace(stackTrace).then(symbolicated => {
  console.log(symbolicated);
});

Other packages similar to metro-symbolicate

Keywords

FAQs

Last updated on 28 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc