split URL into location-resource-params (JavaScript)

Published on Tue Mar 01 2022

Extract resource location, name and query parameters from a URL (JavaScript version)