New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

globbie

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globbie

Simple directory globbing using picomatch

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

globbie

A simple directory glob matcher using picomatch

Usage

const Globbie = require('globbie')

const pattern = 'src/**/*.js'

const globbie = new Globbie(pattern)
await globbie.match() // => ['src/index.js', 'src/utils/index.js', ...]

const globbieSync = new Globbie(pattern, { sync: true })
globbie.match() // => ['src/index.js', 'src/utils/index.js', ...]

Options

The following options are available to be set in the options object:

  • sync (boolean, default: false): Whether to use async or sync methods when running match

License

Apache-2.0

Keywords

globbie

FAQs

Package last updated on 13 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts