UNPKG
dadou-json-editor
Version:
latest (1.0.0)
1.0.0
Angular 8 with Electron (Typescript + SASS + Hot Reload)
github.com/maximegris/angular-electron
dadou-json-editor
/
test2.ts
7 lines
•
199 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
*
as
fs
from
'fs'
;
import
*
as
os
from
'os'
;
const
ls = fs.
readdirSync
(
'h:/data'
);
const
home = os.
homedir
();
console
.
log
(home);
const
dirs = fs.
readdirSync
(
'../'
);
console
.
log
( dirs );