UNPKG
@playform/pipe
Version:
latest (0.1.5)
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Pipe 🧪
github.com/PlayForm/Pipe
PlayForm/Pipe
@playform/pipe
/
Target
/
Function
/
By.js
2 lines
(1 loc)
•
219 B
JavaScript
View Raw
1
2
var
n
=
async
(
...[r,f,t]
)=>{
for
(
const
[e,o]
of
f)
for
(
const
a
of
await
(
await
import
(
"fast-glob"
)).
default
(r,{
cwd
:e??(
await
import
(
"process"
)).
cwd
(),
onlyFiles
:!
0
}))t.
set
(
`
${o}
${a}
`
,
`
${e}
${a}
`
);
return
t};
export
{n
as
default
};