awesome-docker/website/index.js

20 lines
359 B
Markdown
Raw Normal View History

2018-06-09 16:59:45 -04:00
const List = require('list.js');
2018-06-09 10:08:57 -04:00
2018-03-17 11:27:41 -04:00
const main = () => {
2018-06-09 16:59:45 -04:00
const userList = new List('md', {
valueNames: [
'name',
'description',
'homepage',
'star',
2018-06-25 07:50:07 -04:00
{ name: 'updated', attr: 'data-timestamp' },
2018-06-09 16:59:45 -04:00
'language',
'license',
'author',
],
});
console.log(`There are ${userList.size()} projects`);
2018-03-17 11:27:41 -04:00
};
main();