UNPKG
path-existed-or-create
Version:
latest (1.1.2)
1.1.2
1.1.1
1.1.0
1.0.0
> For Nodejs only
github.com/sulfureux/path-existed-or-create
sulfureux/path-existed-or-create
path-existed-or-create
/
README.md
18 lines
(11 loc)
•
228 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# path existed or create
>
For
Nodejs
only
## install
``
`bash yarn add path-existed-or-create `
``
``
`js const pathExistedOrCreate = require("path-existed-or-create"); dirPath = "tempDir"; pathExistedOrCreate(dirPath); `
``