feat: Add DB

This commit is contained in:
Marcel Cruz
2022-11-18 18:51:59 +01:00
parent ff0ca69170
commit 745a209957
13 changed files with 13729 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
module.exports = function ({ readme, indexListIndex }) {
return readme
.map((child, i) => {
if (i <= indexListIndex) return
if (child.type === 'heading' && child.depth === 3) {
const name = child.children[0].value
const rows = readme[i + 1].children
return { name, rows }
}
})
.filter(table => table)
}