149 Commits (e48c9741b15371dd4d6e90f15dbda7a0f1e04ee0)
 

Author SHA1 Message Date
Luke Childs 703b2e7bb3 Make sure got doesn't throw 304s 8 years ago
Luke Childs f8d73163eb Send If-Modified-Since header for stale cache entries 8 years ago
Luke Childs 155f078905 Refactor expire function to return expirey date rather than time in ms 8 years ago
Luke Childs 88191ef716 Don't set a ttl on cache entries 8 years ago
Luke Childs 98cbfa3bec args -> options 8 years ago
Luke Childs a17b03cf46 Refactor createEndpointMethod to not be wrapped in a promise 8 years ago
Luke Childs a29cde357c Only parse JSON on successfull requests 8 years ago
Luke Childs edef446641 calculateResponseMaxAge only needs headers as arg 8 years ago
Luke Childs 883e269848 Reformat response to have more useful data 8 years ago
Luke Childs b6c63d1a38 Set user agent correctly 8 years ago
Luke Childs 6ae31e6845 Calculate max age more reliably 8 years ago
Luke Childs 38b6ee5c7d checkResponseMaxAge -> calculateResponseMaxAge 8 years ago
Luke Childs 230d6190d0 Test passing in custom endpoint array 8 years ago
Luke Childs 907ade214a Tweak Onionoo instance object check to follow consistent pattern 8 years ago
Luke Childs a67ed45cf7 Test Onionoo instance contains expected endpoints 8 years ago
Luke Childs 76dd478420 Test Onionoo instance is an object 8 years ago
Luke Childs c2af0539e3 Test Onionoo cannot be invoked without 'new' 8 years ago
Luke Childs bc1362a262 Integrate with Travis and Coveralls 8 years ago
Luke Childs 0ded6a3d31 Add AVA for tests 8 years ago
Luke Childs 6f3e99c9ec Add snazzy (standard) for linting 8 years ago
Luke Childs 4f6a1bc11a standard code style 8 years ago
Luke Childs be667010f0 Swap out node-cache for cache-manager 8 years ago
Luke Childs 2509f77fad Allow cache option to disable cache 8 years ago
Luke Childs f05cf3f0d4 Only set cache if it's undefined 8 years ago
Luke Childs 183f5f177b Refactor into class 8 years ago
Luke Childs aaccdbd716 checkResponseCache -> checkResponseMaxAge 8 years ago
Luke Childs 8653006d38 Add comments 8 years ago
Luke Childs 5f3b425ff9 Move main logic out of reduce callback 8 years ago
Luke Childs 765ded4c84 Add LICENSE file 8 years ago
Luke Childs af838f6f28 0.5.1 8 years ago
Luke Childs 45a99b019a Make sure all occurances of ':' are escaped in queries 8 years ago
Luke Childs dbda510b31 0.5.0 8 years ago
Luke Childs 52c562c4c1 Add custom user agent 8 years ago
Luke Childs 339f754bb3 Update homepage property in package.json 8 years ago
Luke Childs c7e32db40e 0.4.0 8 years ago
Luke Childs 4f84a1ce50 Don't encode ':' so search filters work 8 years ago
Luke Childs 8cc1ab21c6 Swap out request for got 8 years ago
Luke Childs 9e7121f15b 0.3.1 8 years ago
Luke Childs ec23474326 Accept gzip 8 years ago
Luke Childs 5a22758cee 0.3.0 8 years ago
Luke Childs 14ed37aca9 Cache responses 8 years ago
Luke Childs 2a609caa3e 0.2.1 8 years ago
Luke Childs 0db9e263d6 Add better error reporting 8 years ago
Luke Childs 46b6a446cd 0.2.0 8 years ago
Luke Childs b17dbbe162 Implement promise support ourself 8 years ago
Luke Childs 3b9796778a 0.1.0 8 years ago
Luke Childs b246f9eed3 Import onionoo client from https://github.com/lukechilds/tor-explorer 8 years ago
Luke Childs 8c84341b9f Add .gitignore 8 years ago
Luke Childs e98e9d577a Add package.json 8 years ago