code: function parseMerkleDAG(dagNode) {
    const parsed = dagNode.toJSON()
    // add relevant data
    parsed.isDir = isDir(parsed.data)
    // remove irrelevant data
    delete parsed.data
    if (!parsed.isDir) {
      // if it's a big file it will have links to its other chunks
      delete parsed.links
    }
    return parsed
  }
docs: object.get returns an object of type DAGNode https://github.com/ipld/js-ipld-dag-pb#dagnode-instance-methods-and-properties