starKey
A star's record key: the library it's for, so one person stars one library once.
export const starKey = (author: string, pkg: string): string => `${author}:${pkg}`.replace(/[^A-Za-z0-9._:~-]/g, "~")
A star's record key: the library it's for, so one person stars one library once.
export const starKey = (author: string, pkg: string): string => `${author}:${pkg}`.replace(/[^A-Za-z0-9._:~-]/g, "~")