(input: string, {path = "index.md", aliases = ["FileAttachment"]} = {})
| 128 | }); |
| 129 | |
| 130 | function files(input: string, {path = "index.md", aliases = ["FileAttachment"]} = {}) { |
| 131 | return findFiles(parse(input), path, input, aliases).map(({node, ...f}) => f); |
| 132 | } |
| 133 | |
| 134 | function parse(input: string): Program { |
| 135 | return Parser.parse(input, {ecmaVersion: 13, sourceType: "module"}); |
no test coverage detected