type signature in, functions out
E.g. "array in, Boolean out" in, every
includes
some
out
{"name": "querySelector","inputs": ["Element", "string"],"output": "Element"}
Note: if the function is an object method, like querySelector
is an Element method, put the object first in the inputs, e.g. "inputs": ["Element", "string"], and not "inputs": ["string", "Element"]. This is so the URL to the documentation will be correct, as it is built using the first element. In time we could do something more explicit like "inputs": {"object": "Element", "parameters": ["string"]}, but we'll have to make the program work with this.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.