awesome-docker/website/index.js

20 lines
389 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',
2018-08-08 06:22:43 -04:00
{ name: 'star', attr: 'data-stars' },
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();