UNPKG

authenzify

Version:

server to manage authentication authorization of users and more

7 lines (5 loc) 187 B
export const cleanUser = (user) => { const { isDeleted, isValid, ...userClean } = user return userClean } export const unique = (item, index, array) => array.indexOf(item) === index