Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metro-symbolicate

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

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.

  • 0.73.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.8M
decreased by-6.3%
Maintainers
2
Weekly downloads
 
Created

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

Package last updated on 01 Dec 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc