Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 840 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 840 Bytes

@indutny/breakpad

npm

Fast symbolication of crash reports using breakpad symbol files.

Installation

npm install @indutny/breakpad

Usage

import { createReadStream } from 'node:fs';

import { symbolicateFrames } from '@indutny/breakpad';

const symbolsFile = createReadStream('/tmp/1.sym');

const result = await symbolicateFrames(
  symbolsFile,
  [
    0x0000000006e21774, 0x00000000035253ac, 0x0000000003521eec,
    0x0000000003521ff8,
  ],
);

console.log(result);

Benchmarks

$ npm run benchmark
...
Mean Throughput: 735.9mb/s
StdDev: 1.1%

LICENSE

This software is licensed under the MIT License.