glob-native
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

  • [x] 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.

Readme

Keywords

none

Package Sidebar

Install

npm i glob-native

Weekly Downloads

29

Version

0.0.1

License

MIT

Unpacked Size

6.14 kB

Total Files

5

Last publish

Collaborators

  • danielroe