enfspatch
Additional methods and patches for node fs module
enfs stands for [E]asy [N]ode [fs]
This module is intended to work as a sub-module of enfs
Description
This module will change some behaviors of fs module from node
such as creating a queue for opening files when limit is reached,
catching the error's and proceeding with the process when possible.
This module implements many methods through enfsaddins
Usage
enfspatch
is a drop-in replacement for native fs
module, you just need to include
it instead of the native module.
Use this
var enfs = require("esnofspatch");
instead of
var fs = require("fs");
and all the methods from native fs module are available
Errors
All the methods follows the node culture.
- Async: Every async method returns an Error in the first callback parameter
- Sync: Every sync method throws an Error.
Credit
This module is based on graceful-fs
License
Creative Commons Attribution 4.0 International License
Copyright (c) 2016 Joao Parreira joaofrparreira@gmail.com GitHub
This work is licensed under the Creative Commons Attribution 4.0 International License.
To view a copy of this license, visit CC-BY-4.0.