🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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
Version published
Weekly downloads
88M
40.33%
Maintainers
1
Weekly downloads
 
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

bash

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