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 npm@2.11.3
3 info using node@v0.12.7
4 verbose readDependencies loading dependencies from C:\projects\mean-raffle\package.json
5 warn package.json mean-raffle@1.0.0 No repository field.
6 warn package.json mean-raffle@1.0.0 No README data
7 warn package.json mean-raffle@1.0.0 license should be a valid SPDX license expression