[READ-ONLY] Mirror of https://github.com/danielroe/glob-native.
0

Configure Feed

Select the types of activity you want to include in your feed.

TypeScript 83.1%
JavaScript 3.2%
Other 13.7%
46 2 1

Clone this repository

https://git.vm.fail/danielroe.dev/glob-native https://git.vm.fail/did:plc:scamfrmhgvyjqftet6ppfdsb
ssh://git@knot1.tangled.sh:2222/danielroe.dev/glob-native ssh://git@knot1.tangled.sh:2222/did:plc:scamfrmhgvyjqftet6ppfdsb

For self-hosted knots, clone URLs may differ based on your setup.


README.md

glob-native#

npm version npm downloads Github Actions Codecov

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 node fs.glob implementation seems to have some issues that need to be reported/fixed.

🚧 Roadmap#

  • fsPromises.glob
  • fs.glob
  • fs.globSync

Usage#

Install package:

npm install glob-native
import { fspGlob as glob } from 'glob-native'

for await (const entry of glob('**/*.js')) {
  console.log(entry)
}

💻 Development#

  • Clone this repository
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License#

Made with ❤️

Published under MIT License.