UNPKG
roam-research-mcp
Version:
latest (5.0.2)
5.0.2
5.0.1
5.0.0
4.1.0
4.0.1
3.2.0
3.1.0
3.0.0
2.25.0
2.24.0
2.23.0
2.22.0
2.19.1
2.18.0
2.15.3
2.15.0
2.13.0
2.4.3
2.4.0
1.6.0
1.4.0
1.3.2
1.0.0
0.36.0
0.35.1
0.32.4
0.32.0
0.30.2
0.30.1
0.27.0
0.25.7
0.25.5
0.25.3
0.25.0
0.24.5
0.24.2
0.24.1
0.23.1
0.23.0
0.22.1
0.22.0
0.20.0
0.19.0
0.18.0
0.17.0
0.14.0
0.12.3
0.2.0
MCP server and CLI for Roam Research
github.com/2b3pro/roam-research-mcp
2b3pro/roam-research-mcp
roam-research-mcp
/
build
/
cli
/
utils
/
input.js
11 lines
(10 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * Read all input from stdin */
export
async
function
readStdin
()
{
const
chunks = [];
for
await
(
const
chunk of process.stdin
)
{ chunks.push(chunk); }
return
Buffer.concat(chunks).toString(
'utf-8'
); }