braceexpansion

Bash compatible brace expansion .

Usage no npm install needed!

<script type="module">
  import braceexpansion from 'https://cdn.skypack.dev/braceexpansion';
</script>

README

BRACE-EXPANSION

Bash Brace Expansion ( GNU COMPATIBALE? )

GitHub Logo

Why?

jonschlinkert/braces 7.542 kB + dependencies

juliangruber/brace-expansion 4.335 kB + dependencies

Loads as PLAIN BROWSER AMD , NODE ,

var brace_expansion = require(__dirname+'/.')

console.log(
  require('util').inspect(
    brace_expansion('HERE/{'+[
       'xxx'
      ,'yyy'
    ].join(' ')+'}/00{0..3}')
  ,{depth:null})
)

http://thecloverbox.tv