Comments (3)
Recently, a withFileTypes
option has been added to the globSync
function, and that will return a Dirent
containing more information. I believe it will be released in the next Node.js v22 update.
from node.
This sounds like a great solution!
from node.
I'm glad you like it! I'm gonna close this issue, as this feature is scheduled for release whenever the next upgrade occurs (I forgot if it is semver-minor
or not).
from node.
Related Issues (20)
- Estoy compartiendo 'WTN.CSV' con usted desde WPS Office
- No such built-in module: sea HOT 6
- `DOMException`s do not work with `v8.serialize()`
- In "fs.copyFile(src, dest[, mode], callback)" , for callback,'err' is not defined. HOT 5
- /rbd/pnpm-volume/040a3e2e-c162-47cf-9d77-c827c149c920/node_modules/@discordjs/util/dist/index.js:39 return () => defaultValue ??= cb(); ^^^ SyntaxError: Unexpected token '??=' at wrapSafe (internal/modules/cjs/loader.js:1001:16) at Module._compile (internal/modules/cjs/loader.js:1049:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:101:18) at Object.<anonymous> (/rbd/pnpm-volume/040a3e2e-c162-47cf-9d77-c827c149c920/node_modules/discord.js/src/index.js:3:29) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) HOT 1
- Fatal error nullptr check in AsyncModuleExecutionFulfilled HOT 1
- Inconsistent output depending on if it's piped somewhere or not HOT 4
- Build fail on macOS arm64 - ld: symbol(s) not found for architecture arm64 HOT 1
- Expose SQLite? HOT 1
- Source maps not working when source code is piped in
- Migrating from object.ref()/object.unref() to process.ref()/process.unref() HOT 2
- import sqlite3 is throwing nodejs error and killing the script HOT 1
- "Invalid scrypt params" error message is unnecessarily generic when exceeding `maxmem` HOT 4
- Node.js Pride Flag
- Node
- Customization hooks / ESM loaders reports importing JSON warning on commonjs modules HOT 2
- Adding 2 buttons to minimize the sidebars on nodejs > learn "docs" HOT 2
- Destructuring assignment in REPL throws `Uncaught TypeError: Cannot read properties of undefined (reading 'type')` HOT 2
- Timeout leaks when converted into a primitive and not cleared HOT 1
- Sk HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.