Open fkling opened 9 years ago
That would be very nice indeed!
@fkling did you have any ideas for what kind of tooling you'd like to use to accomplish this? I think this would go a long way towards lowering the barrier to entry.
The method I've seen used most frequently is JSDoc
comments. I think the problem there, though, is that you either need to be super strict about keeping the comments up to date, or have linting rules in place to try and catch things like undocumented or re-ordered arguments.
Submitted a start on this work in https://github.com/facebook/jscodeshift/pull/146.
To know which methods are available, one has to to look at the source code. It would be cool if we could organize the method definitions in such a way that it makes it easy to auto generate documentation from the source.