packages
packages copied to clipboard
Show compilation target in search results
Many packages only work in JS or Erlang. To tell if I can use a package in my app, I need to go their repository and find the gleaml.toml to see what target they support. It would be great to show the compilation target in the search results. e.g. Universal, JS, Erlang.
Thanks
How would that be determined? Consider target support in Gleam is calculated per-function.
Hmm, I was thinking about the target field in gleam.toml.
But re-reading the docs at https://gleam.run/writing-gleam/gleam-toml/ maybe this field is not indication enough.
Maybe have some tag based on the package having erlang or js ffi. If that is possible.