• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

function_index

Find functionality faster than you can re-invent it.
willnwhite
0.3.2 607
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Function Index

type signature in, functions out

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

Indexed

  • JavaScript (ECMAScript 6)

To be indexed

  • Web APIs
    • Document Object Model
    • Fetch/XMLHttpRequest
  • JavaScript libraries
    • jQuery
    • lodash
    • Ramda
    • Underscore
  • Compile-to-JavaScript languages
    • ClojureScript
    • Elm
    • PureScript
    • TypeScript
  • Other languages
    • Python
    • Ruby

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by