PATH:
usr
/
lib
/
node_modules
/
forever
/
node_modules
/
cliff
/
examples
/* * put-object-rows.js: Example usage for `cliff.putObjectRows`. * * (C) 2010, Charlie Robbins & the Contributors * */ var cliff = require('../lib/cliff'); var objs = [], obj = { name: "bazz", address: "1234 Nowhere Dr.", }; for (var i = 0; i < 10; i++) { objs.push({ name: obj.name, address: obj.address, id: Math.random().toString() }); } console.log(cliff.stringifyObjectRows(objs, ['id', 'name', 'address'], ['red', 'blue', 'green']));
[-] put-rows-colors.js
[edit]
[-] inspect.js
[edit]
[-] string-rows.js
[edit]
[-] put-rows.js
[edit]
[-] string-object-rows.js
[edit]
[-] put-object.js
[edit]
[+]
..
[-] put-object-rows.js
[edit]