Skip to content

ganeshkbhat/filehandler

Repository files navigation

fs-handlers filehandler

a simple interface and handler for streaming file handler using fs-handlers filehandler package

The demos can be found in the folder demos

USAGE:

const filehandler = require("../index").default; const FileHandler = filehandler.FileHandler; const fs = new FileHandler("./demos/demos.test.txt", "utf8"); (async () => { let tst = await fs.readFileStreaming(); tst = tst.toString(fs.options); console.log("read: \n\n", tst); let written = await fs.writeFileStreaming(tst); console.log("written: ", written); })() 

About

a simple interface and handler for streaming file handler using filehandler package

Resources

License

Stars

Watchers

Forks

Packages

No packages published