
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@grrr/utils
Advanced tools
$ npm install @grrr/utils
Note: depending on your setup additional configuration might be needed, since this package is published with untranspiled JavaScript.
Import a function and invoke it:
import { closest } from '@grrr/utils';
const findParentFoo = closest(el => el.hasAttribute(`data-foo`));
Functions can also be imported from the function file itself:
import closest from '@grrr/utils/functions/closest.mjs';
View the documentation for all functions and examples of their usage.
FAQs
JavaScript utility functions, by GRRR.
We found that @grrr/utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.