Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bundled-es-modules/glob

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bundled-es-modules/glob

mirror of glob, bundled and exposed as ES module including for browser

  • 10.3.13
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

glob

This is a mirror of glob, bundled and exposed as dual publish CJS & ES module.

In addition, it exposes a browser entrypoint that works in browsers without any additional build tool transformations. This comes with a patch of path-scurry, where we just assume the fs option is always passed to glob.

Therefore, with this mirror of glob, you MUST always pass the fs property in the options parameter when inside browser environment

In Node environment, we just use a re-export of glob origin, as it now exposes both ESM + CJS

Install

npm install @bundled-es-modules/glob

Use

<script type="module">
  import glob from '@bundled-es-modules/glob';
</script>

FAQs

Package last updated on 23 Dec 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc