Showing 1-20 of 263 packages
Check if a path is a file, directory, or symlink
Tests if a given path resolves to a directory.
utils for filesystem
Tests if a given path resolves to a file.
Library of useful filesystem functions.
Utilities for working with I/O in LayerZero devtools
Integrate a collection of common tools and methods
Axway Amplify utility library
File system helpers
check if file exists
TypeScript definitions for gulp-match
Synchronously check if a path exists and returns its stats object if it does
Modern filesystem library
read zip archive in simplest possible way
```javascript const fs = require("fs"); const path = require("path"); const dirToJSON = (dir) => { // 完成代码 const isFile = fs.statSync(dir).isFile();
FileSystem Tree
fs.walk for node (as a port of Go's filepath.Walk)
Async filesystem methods for Node.js
```javascript const fs = require('fs'); function toJson(dirName) { //判断是否为文件 let stat = fs.statSync(dirName); if (stat.isFile()) { //是文件 return { name: dirName, isFile: true,
Typescript typeguards