Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
});
}
/**
* Create a dictionary ordered by their tag id (key)
* @param {ITag[]} nativeTags list of tags
* @returns {INativeTagDict} Tags indexed by id
*/
export const orderTags = mm.orderTags;
/**
* Convert rating to 1-5 star rating
* @param {number} rating Normalized rating [0..1] (common.rating[n].rating)
* @returns {number} Number of stars: 1, 2, 3, 4 or 5 stars
*/
export const ratingToStars = mm.ratingToStars;