mxstbr / postcss.parts

A searchable catalog of PostCSS plugins —
http://postcss.parts
MIT License
46 stars 11 forks source link

Ability to search by author #26

Open jonathantneal opened 7 years ago

jonathantneal commented 7 years ago

It would be easier for me to know which plugins I still need to submit to postcss-plugins if I could easily search for plugins by my author name. Similarly, I would like to easily discover plugins written by quality authors like beneb.

mxstbr commented 7 years ago

👌 PRs very welcome!

himynameisdave commented 7 years ago

postcss-plugins does record author as a property for each plugin, so theoretically this wouldn't be too hard...

mxstbr commented 7 years ago

The relevant code is right here, it's just a matter of checking if the author name is in the search query: https://github.com/mxstbr/postcss.parts/blob/0b4dae8c1ca7b1eeccc72715a677dca4e123dcfb/js/components/PluginList.js#L14-L21