urlmaster is an simple useful library to, generate, manage and resolve URLs
- generate URLs based on default or given protocol/scheme, host/auth, path, query, frag and options whether or not to include the various components - generate all possible URLs for a given set of protocol, host, path, etc.: with/without protocol, with/without host, absolute/relative paths - generate all of the combinations - resolve URLs: not just single base to single ref, but single to multiple, multiple to single, and multiple to multiple based on RFC 3986 - resolve with tracking: input lots of bases and lots of references and get back a list of [base,reference,resolved] tuples - generate all possible unique combinations of [base,reference,resolved] (maximum is 4,225 for the interested) I needed it to help test tmpvar's amazing jsdom library. Happy to hear other uses and feedback. Github: https://github.com/deitch/urlmaster NPM: npm install urlmaster -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
