Is there a way to use apm to get the repo of package?

I want to use apm to get one atom package’s repo. Is there any way to get? I tryed to use “apm view simplified-chinese-menu --json” and jq command, but different package output different format.

Is the repository field not correct?

I tried two packages, atom-beautify and simplified-chinese-menu, atom-beautify response an https link which is I need, but simplified-chinese-menu returns a Json struct.

Yes, the string version is shorthand for specific providers. I don’t know if the directory key is respected by atom.io though, I’ve never seen it used before.