
Product
A New Design for GitHub PR Comments
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
arc-flag-parser
Advanced tools
Parse arc flag expressions to arrays of flag matches
+
represents AND,
represents OR+
) has higher precedence than OR (,
)[]
is used to increase the precedence of the wrapped groupimport { parse } from 'arc-flag-parser';
parse('mobile+ios') // [ ['mobile', 'ios'] ]
import { parse } from 'arc-flag-parser';
parse('mobile,ios') // [ ['mobile'], ['ios'] ]
import { parse } from 'arc-flag-parser';
parse('mobile+[ios,android]') // [ ['mobile', 'ios'], ['mobile', 'android'] ]
See test.js
for more examples
FAQs
<img src="https://img.shields.io/github/license/eBay/ar
The npm package arc-flag-parser receives a total of 64 weekly downloads. As such, arc-flag-parser popularity was classified as not popular.
We found that arc-flag-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.