UNPKG

require-node-example

Version:

An example for how to use npm package: require-node & require-node-loader

25 lines (14 loc) 589 B
## Changelog ### v2.0.0 **Added features** - Adds [.capture](readme.md#capture) method for capturing matches, thanks to [devongovett](https://github.com/devongovett) ### v1.0.0 **Breaking changes** - The main export now returns the compiled string, instead of the object returned from the compiler **Added features** - Adds a `.create` method to do what the main function did before v1.0.0 **Other changes** - adds `expand-brackets` parsers/compilers to handle nested brackets and extglobs - uses `to-regex` to build regex for `makeRe` method - improves coverage - optimizations