nit you can combine line 14 and 15 like so:

    const { URL, isValidURI } = require("./url");