MCPcopy Create free account
hub / github.com/everkinetic/data / getLinks

Function getLinks

scripts/build.js:68–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67// collection to md links
68function getLinks() {
69 return _.chain(collection)
70 .sortBy(function (data) { return data.title; })
71 .map(function (data) {
72 var path = `md/${data[attr]}.md`;
73 return `- [${data.title}](${path})`;
74 })
75 .join('\n')
76 .value();
77}

Callers 1

build.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected