with multidimensional arrays to html tables using node js.... which are the necessary modules ?
You don't need modules for that lol: '<table>' + data .map(row => '<tr>' + row .map(cell => '<td>' + String(cell) .replace(/</g, '<') .replace(/>/g, '>') + '</td>') .join('') + '</tr>') .join('') + '</table>'
Обсуждают сегодня