
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
snackbarlightjs
Advanced tools
Easy snackbars without JQuery (and its only 3kb minified!) Customize your snackbars or use the basic css file
Create snackbars with javascript
new Snackbar("Hey! Im a snackbar");
// Snackbar(message, options, callback)
or even easier write it right in your html
<span data-toggle=snackbar data-content="Hey! Im a snackbar">Click me</span>
options: {
// How long it takes for the snackbar to disappear
timeout: 5000,
// Wich class is used to tell that the snackbar is active
activeClass: "active",
// Name of the link or action if specified
link: false,
// If not specified clicking on the link will activate the callback if specified
url: "#",
}
You can also specify these in your html
<span
data-toggle=snackbar
data-content="Hey! Im a snackbar"
data-timeout=3000
data-link="https://www.somePlaceFarAway.likeRealyFar/"
data-active-class="active">
Click me</span>
You can attach a callback function for when the snackbar is clicked upon.
new Snackbar("Hey! Im a snackbar",{},function(){
alert("Why did you have to close me!");
});
var Snackbar = require("snackbarlightjs");
Snackbar.create("I can be used here also awesome!", {}, function(){});
This package does support usage in Vuejs npm
Basic usage:
this.$snackbar.create("Vuejs is awsome!", {}, function(){});
If you use Browserify to compile your vue you need to call Vue.use() on it
var Snackbar = require("snackbarlightjs");
Vue.use(Snackbar);
MIT
FAQs
Easy snackbars without JQuery (Also supports vuejs)
The npm package snackbarlightjs receives a total of 211 weekly downloads. As such, snackbarlightjs popularity was classified as not popular.
We found that snackbarlightjs 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.