URL parsing with coercion of `query`
npm install tiny-parsequery
javascript
"use strict";
const parse = require("tiny-parse");
console.log(parse("http://localhost/?abc=true").query.abc === true); // true
console.log(parse("http://localhost/?abc=true", false).query.abc === true); // false
`
$3
parse(arg, coerce=true)
Parses the input, accepts a URL or http.ClientRequest`