Search results
96 packages found
Reads the entire contents of a commented JSON file.
Reads the entire contents of a TOML file.
Reads the entire contents of a Human JSON file.
A tool for quickly and easily loading all files in a directory tree recursively
Reads a file and caches the result (in memory). If the file was modified, will return updated version of it (options available)
Cache files read using fs.readFileSync
Streaming read of local file or remote url.
Read textfiles, autohandle latin1, utf8, utf16/32 big/little endian
short cut for `fs.readFileSync(__dirname + '/path/file.txt', 'utf-8')`
Read a file into an array
Dead-simple read file recursively util
``` npm install ``` ## 导入 ``` const {_readFile} = require('yzh-readFile') ``` ## 使用 #### 返回promise ``` _readFile('./txt').then(res=>{}) ```
read directory recursively & output files or dirs
Fully read a file descriptor
nodejs fs wrapper to use with async/await easy
Sync/async sugar for reading and writing text files via the fs module
- electron
- file
- fs
- json
- mkdir
- mkdirSync
- mkdirp
- node
- react-native
- readFile
- readFileSync
- text
- writeFile
- writeFileSync
Use import to read any file contents to local variable in Node.js. Filename is resolved like regular import source.
Read the frist file from a directory.