[lib] adds a feature to allow users to view starred packages