UNPKG

repeated-words

Version:

Processes paragraphs of text to identify repeated words and exports a file with the frequency of each word.

4 lines (3 loc) 120 B
export function objectToFormattedArray(obj) { return Object.entries(obj).map(([key, value]) => `${key}: ${value}`); }