
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
@frankhoodbs/data-layer-helper
Advanced tools
This is a JavaScript utility designed to simplify the interaction and manipulation of data layers. It's particularly useful for managing and tracking data in complex applications, enhancing data handling capabilities with ease.
Install the package via npm:
npm install @frankhoodbs/data-layer-helper
or using yarn:
yarn add @frankhoodbs/data-layer-helper
First, import the useDataLayer function from the package:
import { useDataLayer } from '@frankhoodbs/data-layer-helper';
Then, you can initialize it with a set of layers and optionally a store object. Using TypeScript generics here provides the benefit of autocompletion in your IDE:
const { push } = useDataLayer<['layer1', 'layer2']>(['layer1', 'layer2']);
You can push data into your layers as follows:
push(
{ key: 'value' },
{
layer1: { additionalKey: 'additionalValue' },
layer2: { key: 'overrideValue' },
}
);
true, the data will be logged to the console instead of being pushed to the layers.FAQs
Data Layer utility
The npm package @frankhoodbs/data-layer-helper receives a total of 43 weekly downloads. As such, @frankhoodbs/data-layer-helper popularity was classified as not popular.
We found that @frankhoodbs/data-layer-helper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.