Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/unconed/TermKit
/ join
Function
join
Node/shell/meta.js:19–21 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
17
18
// Flatten multi-line strings.
19
function
join(string) {
20
return
(
''
+string).replace(/[\r\n] ?/g,
' '
);
21
}
22
23
// Quote a string
24
function
quote(string) {
Callers
1
meta.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected