braces

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

3.0.3Latest, 21 May 2024
958MDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
268Stars
3.8/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High Uncontrolled resource consumption in braces CVE-2024-4068 Fixed in 3.0.3 14 May 2024
Low Regular Expression Denial of Service (ReDoS) in braces CVE-2018-1109 Fixed in 2.3.1 6 Jan 2022

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.