Hot answers tagged

3

I've been bitten by this feature as well in the past... Responses from the API are compressed with GZIP (by default; you can request DEFLATE as well). Your browser automatically knows how to handle this; with most development libraries you have to specify explicitly that you want support for compression. I don't have experience with the 'request' library ...


2

There is an example of how to invoke the constructor here: // app/src/resolvers.js const stackexchange = require('stackexchange-node'); const config = require('../config/config'); const options = {version: 2.2}; const context = new stackexchange(options); const API_KEY = config['API_KEY']; const resolvers = { Query: { questions: async (root, {...


1

feature-request I would like an option to have the generator expand a single match argument to all known Stack Exchange domains. So for example -m "https://*.stackexchange.com/reviews/*" -all results in // @match https://*.askubuntu.com/reviews/* // @match https://*.mathoverflow.net/reviews/* // @match https://*....


1

feature-request The package.json needs to exist and the required properties need to have a value. While it is documented it is easily overlooked. My use case is slightly different. I wanted to generate headers for userscripts I have written over the years and those don't have a package.json and I wasn't planning on adding one. I prefer the error message is ...


Only top voted, non community-wiki answers of a minimum length are eligible