extglob-invert
A tiny tool to invert extglobs.
Install
$ npm install --save extglob-invert
Usage
const invert = ; // !(path/to/file) // /path/to/file // ** // ** // ['!(file1)', 'file2']
Test and coverage
You just have to clone the repo and run
$ npm test
$ npm run coverage