UNPKG
@tcatche/swagger-ts
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
Codegen from swagger to TS & Axios Functions
github.com/tcatche/swagger-ts
tcatche/swagger-ts
@tcatche/swagger-ts
/
test
/
t.js
9 lines
(7 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
fs =
require
(
'fs'
)
const
path =
require
(
'path'
)
console
.
log
(path.
dirname
(
'c:/tmp/a/b/c/d/e.ts'
))
console
.
log
(path.
dirname
(
'c:/tmp/a/b/c/d/e'
)) fs.
mkdir
(
'c:/tmp/a/b/c/d/e.ts'
, {
recursive
:
true
},
(
err
) =>
{
if
(err)
throw
err })