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

is-extglob

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

is-extglob

Returns true if a string has an extglob.

  • 2.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is is-extglob?

The is-extglob npm package is used to check if a string has an extglob pattern. Extglob patterns are extensions to the basic glob patterns, allowing for more expressive matches. This package is particularly useful in applications that need to parse, interpret, or validate file paths and patterns for more complex matching criteria than simple wildcard matches.

What are is-extglob's main functionalities?

Check if a string is an extglob pattern

This feature allows you to check if a given string is an extglob pattern. The function returns true if the string is an extglob pattern, otherwise false. This is useful for validating or parsing strings that are expected to be in extglob format.

"const isExtglob = require('is-extglob');\nconsole.log(isExtglob('!(pattern)')); // true\nconsole.log(isExtglob('pattern')); // false"

Other packages similar to is-extglob

Keywords

FAQs

Package last updated on 11 Dec 2016

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