fitzgen / glob-to-regexp

Convert a glob to a regular expression
152 stars 23 forks source link

Suggestion for JS version #3

Open valtido opened 10 years ago

valtido commented 10 years ago

Hey Nick,

Nice job...

I would suggest, you can make a second version of this, for front-end (browsers js).

I know it's just removing the export... but would be nice to have.

Also a minified version of both :+1:

fitzgen commented 10 years ago

Feel free to wrap it in this UMD template so that it works in node, requirejs, and standard browser environments and send me a pull request.

roccivic commented 8 years ago

Link to template seems dead :(

roccivic commented 8 years ago

OK, so I found the UMD template, but wrapping the entire script in it would look quite ugly...