snd / url-pattern

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
MIT License
585 stars 43 forks source link

Add "names" property to public api (incomplete, for discussion) #43

Open luggage66 opened 7 years ago

luggage66 commented 7 years ago

How do you feel about making urlPatternInstance.names a part of the public API? It helps my use case to know what parameter names are used in the pattern string.

snd commented 7 years ago

@luggage66 hey donald, apologies for taking so long to respond. i'm traveling at the moment. the change looks good. i'll test, merge and release this soon