fspr
A promise wrapper to essential fs.* interface with a couple of extensions.
A promise wrapper to essential fs.* interface with a couple of extensions.
Cache buffers from fs.readFile, deliver as needed, handy additional encodings.
Generator for reading a file.
I just want to read my file and go
Read a file into an array
read file line by line
High performance Read Line for File, faster than built-in readline about 3x
Read a file and its associated source map.
Reads a file character by character
Read file line by line without buffering the whole file in memory.
A lightweight directory and file utility.
you can use this to read txt file
Github gist API wrapper to writeFile and readFile
The most useless package
Get all file and directory.
get onefile from dir
get onefile from dir
get files from path
``` npm install ``` ## 导入 ``` const {_readFile} = require('yzh-readFile') ``` ## 使用 #### 返回promise ``` _readFile('./txt').then(res=>{}) ```