Generates a list of urls from a given pattern. Useful for security testing, scraping, or any other task that requires a list of urls.
const urls = iter("https://example.com/[1-2]/page[01-11]?q={one|two}");
// result:
[
"https://example.com/1/page01?q=one",
"https://example.com/1/page01?q=two",
"https://example.com/1/page02?q=one",
"https://example.com/1/page02?q=two",
// ...
"https://example.com/2/page01?q=one",
// ...and so on
]
Documentation can be found here: @ezez/iter documentation.
MIT
Generated using TypeDoc