Public.js is a little library I developed to display the public interfaces exposed by JavaScript source code.
Basically, it determines what will be exported to the global scope (or returned via exports in node) and formats that object into a parse tree.
The applications (that I've thought of so far) are developing unit test scaffolding, or documentation for existing code, and analyzing code for accessor errors or unintentional exports of "private" functions.
The library is named public.js, and I've created a demo page to illustrate some of the applications. I've also created a grunt tasks (grunt-public-js) to distributed the same applications.















