Socket
Socket
Sign inDemoInstall

@wokwi/gcc-output-parser

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wokwi/gcc-output-parser

GCC output parsing library


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

GCC Output Parser Library

Build Status

Library which helps annotate/highlight gcc output.

Installation

$ npm install @wokwi/gcc-output-parser

Usage

const parser = require('@wokwi/gcc-output-parser');

console.log(parser.parseString(gccOutput));

Example output:

[ { filename: '/sketch/sketch.ino',
    line: 6,
    column: 3,
    type: 'error',
    text: "'digitalWire' was not declared in this scope",
    codeWhitespace: '   ',
    code: 'digitalWire(LED_BUILTIN, HIGH);',
    adjustedColumn: 0,
    startIndex: 47,
    endIndex: 162,
    parentFunction: 'void loop()'
} ]

Keywords

FAQs

Package last updated on 09 Sep 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