I want to write a package to list all keybindings in all published packages. It would help devs like me choose keybindings for a package. It would be almost as good as having a keybinding registry.
Is there an API to retrieve package files without installing? Otherwise, to read all the files I’d have to install each and every package one at a time to read the files. I guess I could do this offline every night and somehow make it available to my users.
I have been saying “files”, but could I count on only looking at the one file in the keymaps folder to find all bindings?
EDIT: I just realized if I had access to just the package.json file I could go to the github repo and download any file there.
EDIT 2: I’m trying to fork apm now and hack it to get what I need. I figure it would be easier to add a command to apm than to reverse engineer the api and code from scratch.