refactor: doerg는 publisher와 결합
All checks were successful
build / build (push) Successful in 5s

This commit is contained in:
2026-04-03 11:20:36 -06:00
parent 5ca59fdb5e
commit dcaac98252
88 changed files with 158 additions and 622 deletions

18
doerg-parser/index.js Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env node
const { parse } = require ("uniorg-parse/lib/parser.js");
const opts = {
trackPosition: true
}
async function main () {
const chunks = []
for await (const chunk of process.stdin) {
chunks.push (chunk)
}
const orgText = Buffer.concat (chunks).toString ("utf8")
process.stdout.write (JSON.stringify (parse (orgText, opts)))
}
main ()