string-rows.js 302 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 var cliff = require('../lib/cliff'); var rows = [ ['Name', 'Flavor', 'Dessert'], ['Alice', 'cherry', 'yogurt'], ['Bob', 'carmel', 'apples'], ['Joe', 'chocolate', 'cake'], ['Nick', 'vanilla', 'ice cream'] ]; console.log(cliff.stringifyRows(rows, ['red', 'blue', 'green']));