| index.js |
Expand the given pattern or create a regex-compatible string.
```js
const braces = require('braces');
console.log(braces('{a,b,c}', { compile: true })); //=> ['(a|b|c)']
console.log(braces('{a,b,c}')); //=> ['a', 'b', 'c']
```
@param {String} `str`
@param {Object} `options`
@return {String}
@api public
|
4380 |
- |
| lib |
|
|
- |
| LICENSE |
|
1091 |
- |
| package.json |
|
1647 |
- |