UNPKG
@it-corp/vpbank-spotlight
Version:
latest (0.1.2)
0.1.2
0.1.1
Command center components for react and VPbank components
@it-corp/vpbank-spotlight
/
scripts
/
utils
/
get-path.ts
10 lines
(7 loc)
•
200 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
path
from
"node:path"
;
export
function
getPath
(
filePath: string
) {
return
path.
posix
.
resolve
(filePath); }
export
function
getPaths
(
filePaths: string[]
) {
return
filePaths.
map
(getPath); }