1.0.7 • Published 7 years ago

io-info v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

node-io-info

node file api , just like FileInfo & DirectoryInfo Class in C#

typescript enabled

install:

npm install io-info

API:

FileInfo

const io = require("io-info")
let f1 = new io.FileInfo("simple/1.txt"); //FileInfo in c#.net
f1.create();
f1.attributes;
f1.exists;
f1.copyTo("dir3");
f1.moveTo("dir2");
f1.length;
...
io.FileInfo.writeAllText(f1.fullName,"some test");
io.FileInfo.readAllText(f1.fullName)
...

DirectoryInfo

const io = require("io-info")
let d1 = new io.DirectoryInfo("simple");//DirectoryInfo in c#.net
d1.copyTo("simple1");
d1.size;
d1.copyTo("dir4");
d1.delete();
d1.exists;
...
...
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago