
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
jquery-pluginconfig
Advanced tools
A jQuery plugin that help use data attributes for configuration
You can install with npm
$ npm install jquery-pluginconfig
With Bower
bower install jquery-pluginconfig
Or use some of the files at dist
folder.
Let's say you have a jQuery plugin called my-awesome-plugin
. And you want to allow the user to set the configs of that plugin for a given element using data-*
attributes.
You can let them do this:
<div class="my-element" data-my-awesome-plugin-config="hello" data-my-awesome-plugin-config-two="world"></div>div>
And then you can do this:
var config = $('.my-element').pluginConfig('my-awesome-plugin');
// You'll get { config: "hello", configTwo: "world"}
// Then use it
$('.my-element').myAwesomePlugin(config);
You can also use it internally of your plugin, so the user won't have to call pluginConfig
every time.
That's all, folks!
FAQs
A jQuery plugin that help use data attributes for configuration
The npm package jquery-pluginconfig receives a total of 2 weekly downloads. As such, jquery-pluginconfig popularity was classified as not popular.
We found that jquery-pluginconfig 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 Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.