Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
array-includes-with-glob
Advanced tools
Like _.includes but with wildcards
This package is pure ESM. If you're not ready yet, install an older version of this program, 3.1.0 (npm i array-includes-with-glob@3.1.0
).
npm i array-includes-with-glob
import { strict as assert } from "assert";
import { includesWithGlob } from "array-includes-with-glob";
assert.equal(includesWithGlob(["xc", "yc", "zc"], "*c"), true);
// (all 3)
assert.equal(includesWithGlob(["xc", "yc", "zc"], "*a"), false);
// (none found)
assert.equal(includesWithGlob(["something", "anything", "zzz"], "some*"), true);
// (1 hit)
Please visit codsen.com for a full description of the API.
To report bugs or request features or assistance, raise an issue on GitHub.
MIT License.
Copyright © 2010-2024 Roy Revelt and other contributors.
FAQs
Like _.includes but with wildcards
The npm package array-includes-with-glob receives a total of 4,849 weekly downloads. As such, array-includes-with-glob popularity was classified as popular.
We found that array-includes-with-glob demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.