mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
10 lines
260 B
JavaScript
10 lines
260 B
JavaScript
#!/usr/bin/env node
|
|
const { block, convert } = require("./md-toml");
|
|
|
|
convert(({ body, frontmatter, stem }) => ({
|
|
name: frontmatter.name || stem,
|
|
description: frontmatter.description,
|
|
model: frontmatter.model,
|
|
developer_instructions: block(body),
|
|
}));
|