Comparing version 0.9.4 to 0.9.5
{ | ||
"name": "luvi", | ||
"description": "dev server with nifty extras and simple, easy config and api.", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"author": "Zac Anger <zac@zacanger.com> (http://zacanger.com)", | ||
@@ -6,0 +6,0 @@ "license": "WTFPL", |
@@ -1,2 +0,2 @@ | ||
# luvi ❦ | ||
# luvi ♡ | ||
@@ -3,0 +3,0 @@ -------- |
❦ luvi (a server) | ||
♡ luvi (a server) | ||
------------------ | ||
usage: | ||
❦ luvi # launch default server | ||
❦ luvi foo bar # start servers `foo` & `bar` | ||
❦ luvi -p 1337 # listen on specified port | ||
❦ luvi -r /path/to/root # serve from specified dir | ||
❦ luvi -v # luvi version | ||
❦ luvi -h # this help | ||
♡ luvi # launch default server | ||
♡ luvi foo bar # start servers `foo` & `bar` | ||
♡ luvi -p 1337 # listen on specified port | ||
♡ luvi -r /path/to/root # serve from specified dir | ||
♡ luvi -v # luvi version | ||
♡ luvi -h # this help | ||
-------------------- | ||
see the readme for config options and api usage ❦ | ||
see the readme for config options and api usage ♡ |
@@ -38,2 +38,1 @@ #!/usr/bin/env node | ||
}) | ||
@@ -18,4 +18,4 @@ 'use strict' | ||
, onListen(name, port){ | ||
console.log(name, 'is listening on', port) | ||
opener('http://localhost:' + port) | ||
console.log(`${name} is listening on ${port}`) | ||
opener(`http://localhost:${port}`) | ||
} | ||
@@ -46,2 +46,1 @@ } | ||
module.exports = luvi | ||
@@ -33,2 +33,1 @@ 'use strict' | ||
module.exports = each | ||
@@ -25,2 +25,1 @@ 'use strict' | ||
module.exports = filter | ||
@@ -29,2 +29,1 @@ 'use strict' | ||
module.exports = findPort | ||
@@ -5,7 +5,4 @@ 'use strict' | ||
function isArrayLike(arg){ | ||
return arg && isNumber(arg.length) | ||
} | ||
const isArrayLike = arg => arg && isNumber(arg.length) | ||
module.exports = isArrayLike | ||
'use strict' | ||
function isDefined(arg){ | ||
return typeof arg !== 'undefined' | ||
} | ||
const isDefined = arg => typeof arg !== 'undefined' | ||
module.exports = isDefined | ||
'use strict' | ||
function isNumber(arg){ | ||
return typeof arg === 'number' | ||
} | ||
const isNumber = arg => typeof arg === 'number' | ||
module.exports = isNumber | ||
@@ -16,2 +16,1 @@ 'use strict' | ||
module.exports = mix | ||
@@ -17,2 +17,1 @@ 'use strict' | ||
module.exports = readFile | ||
@@ -22,2 +22,1 @@ 'use strict' | ||
module.exports = readJSON | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19179
203