function_index

Find functionality faster than you can re-invent it.

willnwhite

675

3

0.3.2

MIT

GitHub

Function Index

type signature in, functions out

E.g. "array in, Boolean out" in, every includes some out

Indexed

To be indexed

Indexing functions

{
  "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.