Skip to content

Instantly share code, notes, and snippets.

View hitmands's full-sized avatar

Giuseppe Mandato hitmands

View GitHub Profile
@hitmands
hitmands / parser.js
Created October 19, 2016 13:29
Pausa Pranzo - Regular Expressions - Level1
function urlStack(url) {
// null fields are nullable
return {
url, // the full input url
protocol: null,
port: null,
subdomain: null,
extension: null,
domain: null,
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose readDependencies loading dependencies from C:\projects\mean-raffle\package.json
5 warn package.json [email protected] No repository field.
6 warn package.json [email protected] No README data
7 warn package.json [email protected] license should be a valid SPDX license expression