Michael Jackson
a14c6cd90b
Use separate modules, get config from env
2016-04-30 16:52:43 -07:00
Michael Jackson
81fe71c369
Fix package name matching
2016-04-12 11:24:37 -07:00
Michael Jackson
06f6a74de7
Tweak function name
2016-04-12 05:28:33 -07:00
Michael Jackson
0886f7ac6a
Use arrow functions
2016-04-12 05:27:05 -07:00
Michael Jackson
2f5f4169a5
Change key name
2016-04-12 05:22:00 -07:00
Michael Jackson
dd04ece3d0
Log reqs based on package as well
2016-04-12 05:20:22 -07:00
Michael Jackson
5435b3c788
Try different syntax
2016-04-12 05:10:31 -07:00
Michael Jackson
f3c5dcee2b
Store request stats in a sorted set
2016-04-12 05:04:55 -07:00
Michael Jackson
277e938884
Only log request paths, not search strings
2016-04-12 04:50:26 -07:00
Michael Jackson
8e1b8edca7
Log successful requests to redis instance if available
2016-04-12 04:46:23 -07:00
Michael Jackson
3180839192
Add URL logging option
2016-04-12 04:35:01 -07:00
Michael Jackson
396906dde1
Update npm-http-server dep
2016-03-26 00:09:07 -07:00
Michael Jackson
d452d57d86
Cache redirects for 5 mins
2016-03-18 12:45:49 -07:00
Jason Miller
babea5e02c
Fix options not being passed to npm-http-server
...
`npm-http-server` expects options as a hash, but they were being passed as arguments. This did not affect npmcdn.com because the defaults were being used anyway, but I ran into it when setting it up internally at my company. #TrolledByMJ again
2016-03-15 13:40:32 -04:00
Michael Jackson
fe116a5cae
Tweak log message
2016-03-06 19:29:49 -08:00
Michael Jackson
187ee39b1c
Add more npm config vars
2016-03-05 21:59:53 -08:00
Michael Jackson
c18640f421
Use const instead of var
2016-02-21 22:05:44 -08:00
Michael Jackson
dc1a5d1f7d
Add port npm config var
2016-02-21 19:00:11 -08:00
Michael Jackson
eeb7b62dce
Initial commit
2016-02-21 18:52:19 -08:00