Is there a machine-readable version of the WinRT API?
I'm looking for something like a WebIDL, a classic IDL, or any other machine-readable format that would list all the classes, constants, methods, etc. for the WinRT that is accessible in JavaScript.
If it included one-liner descriptions for each of the above entries, and/or links to the relevant MSDN documentation page, that would be even better of course :-)
edit:
The windows.winmd file contains the API definitions for the winrt APIs - these are directly applicable to all three languages, and they are machine readable.
As you mentioned in your comment, there are some slight differences based on how the language projection treats the types, but those transformations are strictly mechanical. For example, for Javascript, the projection changes are straightforward:
There are undoubtedly other Javascript mappings that I've missed, but those are the most important ones. The other currently supported languages (C++, C#, low level C++) have similar mechanical transformations that are applied to the metadata.