README
globrex
Simple but powerful glob to regular expression compiler.
Install
npm install globrex --save
Core Features
- 💪 extended globbing: transform advance
ExtGlob
features - 📦 simple: no dependencies
- 🛣️ paths: split paths into multiple
RegExp
segments
Usage
const globrex = require('globrex');
const result = globrex('p*uck')
// => { regex: /^p.*uck$/, string: '^p.*uck