lirantal/pie-my-vulns

Feature request: Expose Parsers and Reporters as an API

Open

#50 opened on Mar 28, 2020

 (0 comments) (0 reactions) (0 assignees)JavaScript (5 forks)github user discovery
good first issuehacktoberfesthelp wanted

Repository metrics

Stars
 (26 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe. I was thinking it would be great to expose the parsers and potentially reporters too as an API. It would really just require exposing them via the main export file for anyone wanting to use this as a lib instead of a CLI too.

Potentially later we can split to another package but should be an easy start just exposing them straight-out right now.

Describe alternatives you've considered Doing this is ugly and opens many potential issues in the future:

const parser = require('pie-my-vulns/src/Parsers/SeverityTypeParser.js');

Contributor guide