A polyfill package to replicate the functionality of the experimental
fs.glob
[!WARNING]
This package is not yet reliable enough to use, not least because the nodefs.globimplementation seems to have some issues that need to be reported/fixed.
Install package:
npm install glob-native
import { fspGlob as glob } from 'glob-native'
for await (const entry of glob('**/*.js')) {
console.log(entry)
}
corepack enablepnpm installpnpm devMade with ❤️
Published under MIT License.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.